Obtaining DNS servers automatically on Cisco ADSL routers;" not static dns with command dns-server x.x.x.x" ?

Obtaining DNS servers automatically on Cisco ADSL routers;" not static dns with command dns-server x.x.x.x" ?

Ok Thank you Karsten

Similar Messages

  • Detect "Obtain DNS server address automatically" set

    Can anyone help me with a minor issue?
    I am trying to detect if this setting is set to manual or automatic
    I am currently using this code
    Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter "IPEnabled=TRUE" | Select PSComputerName,DNSServerSearchOrder
    The problem is it returns the servers and not the actual setting of automatic vs manual.
    Powershell v2

    Hi JustuslV,
    Optionally, you can retrieve or set a value corresponding to "Obtain DNS server address automatically" by using the two registry entries, DhcpNameServer and NameServer, which you can find at the following registry location:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces
    \{AdapterIdentifier}
    If the value of NameServer is null, the client tries to obtain a DNS server address automatically from the DHCP server.
    Refer to:
    Part 5: Scripting DNS on Clients
    And you can refer to this script to get the related registry value:
    $adapter=Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter "IPEnabled=TRUE" | select -ExpandProperty SettingID
    $path='HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces'
    Get-ItemProperty -Path "$path\$adapter" -Name Nameserver|select -ExpandProperty NameServer
    If there is anything else regarding this issue, please feel free to post back.
    Best Regards,
    Anna Wang

  • Why doesn't my airport express router issue proper DNS server address to DHCP clients?

    I have an Airport express router (version 7.6.4).  It was configured to connect to internet via a cable modem, acting as a router with NAT. This means it obtians WAN address from cable modem, and in LAN it assumes IP address 10.0.1.1 as a gateway, and issue IP address to my 4-5 wireless clients (MBA, iPads, PCs) vi DHCP.
    However I recently encounter an issue, that the router no longer issues DNS server address obtained from Cable Modem(206.x.x.x) but instead tell every DHCP client to use router ip address (10.0.1.1) as DNS server. I was pretty sure before Dec 2013 it is issueing (206.x.x.x) to all DHCP clients.
    Apparently now the Airport express is acting as a DNS server or as a DNS cache. This works sporadically and very often result in long DNS look up or DNS look up failure.
    Is this a bug or is it supposed to do so?  Any configuration can turn it off so Airport express will issue Cable modem obtained DNS server to DHCP clients?
    My network otherwise works fine. for some of the Clients (e.g. one MBA) I configured DNS for it mannually and it's internet is working very smoothly.

    But this will be a problem for my ipad and iphone that uses wifi.
    These devices either allow full DHCP. If you need to mannually enter DNS server, you will need to turn entire IP configuration to mannual and that will be a problem for me.

  • Acquiring DNS server

    I am trying to replace a gen 1 time capsule with a gen 2 time capsule. Initially it wouldn't obtain dns server numbers from the cable modem. It reported no internet connection. I then copied the DNS server ID from the porfile of the older time capsule and entered it on the new one. After that the time capsule reports an internet connection, but won't actually resolve any urls. Reconnecting the old time capsule then allowed me to restore connectivity (with the new capsule unplugged.
    I think this is in part a cable modem problem, but sould be appreciative of any suggestions.
    thanks

    How are your DNS addresses served from your ISP? Dynamic or static? I would try resetting the TC and setting it up as new - if you can get an internet connection from your modem directly to your Mac then there should be no issues in assigning DNS to the new TC?

  • Cisco IOS as DNS server

    Dear Community!
    Could someone help me to fine-tuning DNS server configuration?
    I'm configuring an IOS router act as a DNS server with the following parameters:
    ip name-server [IP #1] [IP #2]
    ip dns server
    ip domain round-robin
    ip domain name [domain.net]
    The 1st DNS server is a public DNS server accessible from Internet, the 2nd one is a private corporate DNS server accessible from a site-2-site tunnel.
    The client PCs at the remote end of the IPSec tunnel should query public DNS names from public DNS server, and the records of our private DNS domain.
    Is it possible to configure a "policy" to query corporate DNS domain from a dedicated DNS server, and the other public DNS name from the public one?
    Thanks in advance!
    Best Regards,
    Belabacsi
    from Budapest, Hungary

    Sure, it's called DNS Proxy. It's not supported on all devices, so you'll have to check.
    http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123relnt/800/rn830xc3.htm
    DNS Proxy
    In virtual private network (VPN), Point-to-Point Protocol over Ethernet (PPPOE), etc. PCs connected to the LAN may get Dynamic Host Configuration Protocol (DHCP) parameters including the IP addresses of the Domain Name System (DNS) server prior to the router connecting to the WAN to get the information over IP Control Protocol (IPCP). The objective with Proxy DNS (or caching-only name server) enables the router to receive DNS queries on behalf of the real DNS servers and proxy for the hosts on the LAN connected users. This enables the DHCP server to immediately send the hosts the router's own LAN address in lieu of the DNS server's IP address. The router forwards the DNS queries from local users to real DNS servers after the WAN connection comes up and caches the DNS records in response. Over the time, cache includes the DNS information most often requested by the local resolvers and this can reduce the overhead of packets to the WAN.
    The router must obtain the correct DNS server information from the WAN in order for it to function as a proxy DNS server.
    The global configuration command ip dns server enables DNS proxy server functionality on the router, and causes it to forward DNS queries to the actual DNS servers. The global configuration command dns-server address causes the router to respond to DNS queries with its own IP address.
    HTH and please rate.

  • Windows server 2012 standard second DNS server not automaticly detected by Windows 7.

    Hi!
    We have configured a second DNS server on our domain just in case.
    I have tested the second DNS by activating manually the second dns server in the IPV4 config in windows 7 pro.
    My question is: the second DNS server is not supposed to be detected automaticly by windows?
    Thanks you.

    Hi,
    There may be some misunderstanding about how DNS works.
    DNS client doesn't detect DNS servers. DNS client doesn't know which zone is hosted by the DNS server. DNS client can only send DNS query to the DNS servers which are configured in the client.
    As I mentioned above, the DNS Client service queries the DNS servers in the following order:
    The DNS Client service sends the name query to the first DNS server on the preferred adapter’s list of DNS servers and waits one second for a response.
    If the DNS Client service does not receive a response from the first DNS server within one second, it sends the name query to the first DNS servers on all adapters that are still under consideration and waits two seconds for a response.
    If the DNS Client service does not receive a response from any DNS server within two seconds, the DNS Client service sends the query to all DNS servers on all adapters that are still under consideration and waits another two seconds for a response.
    If the DNS Client service still does not receive a response from any DNS server, it sends the name query to all DNS servers on all adapters that are still under consideration and waits four seconds for a response.
    If it the DNS Client service does not receive a response from any DNS server, the DNS client sends the query to all DNS servers on all adapters that are still under consideration and waits eight seconds for a response.
    In your case, if you configure the DNS2 as the secondary DNS server on Windows 7, when the DNS1 is down, Windows 7 will send DNS query to DNS2 after 3 sceconds(Step 3).
    Best Regards.
    Steven Lee
    TechNet Community Support

  • Help with CISCO-887VA adsl over pots and PPPoE with dynamic IP

    Hi
    I've got problem trying to connect the CISCO-887VDSL/ADSL OVER POTS ROUTER to internet. Only got the LAN part working.
    I'm trying to setup PPPoE with dynamic IP
    Followed CISCO's documentations but the commands used were not recognized by the router. Any simple working config for me to follow will be enough.
    I'll appreciate any help. Thanks a lot!
    here's  my config.
    ! Last configuration change at 08:31:51 UTC Sat Feb 11 2012
    version 15.1
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname router
    boot-start-marker
    boot-end-marker
    no aaa new-model
    memory-size iomem 10
    crypto pki token default removal timeout 0
    ip source-route
    ip dhcp excluded-address 10.0.0.1 10.0.0.149
    ip dhcp excluded-address 10.0.0.199 10.0.0.254
    ip dhcp pool sdm-pool
    import all
    network 10.0.0.0 255.255.255.0
    default-router 10.0.0.1
    dns-server x.x.x.x x.x.x.x.x
    lease 0 2
    ip cef
    no ipv6 cef
    license udi pid CISCO887VA-K9 sn FGLxxxxxxx
    controller VDSL 0
    ip ftp username cisco
    ip ftp password cisco
    interface Ethernet0
    pppoe enable group global
    pppoe-client dial-pool-number 1
    no ip address
    shutdown
    interface ATM0
    no ip address
    no atm ilmi-keepalive
    pvc 0/35
    pppoe-client dial-pool-number 1
    interface FastEthernet0
    no ip address
    interface FastEthernet1
    no ip address
    interface FastEthernet2
    no ip address
    interface FastEthernet3
    no ip address
    interface Vlan1
    ip address 10.0.0.1 255.255.255.0
    ip nat inside
    ip directed-broadcast
    ip virtual-reassembly in
    ip tcp adjust-mss 1452
    interface Dialer1
    mtu 1492
    ip address negotiated
    ip nat outside
    ip virtual-reassembly in
    encapsulation ppp
    dialer pool 1
    dialer-group 1
    ppp authentication chap pap callin
    ppp chap hostname xxxx
    ppp chap password 0 xxxx
    ppp pap sent-username xxxx password 0 xxxx
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    ip nat inside source list 1 interface Dialer1 overload
    ip route 0.0.0.0 0.0.0.0 Dialer1
    ip access-list standard 1
    permit 10.0.0.0 0.0.0.255
    no cdp run
    line con 0
    line aux 0
    line vty 0 4
    login
    transport input all
    end

    Try to check with your ISP the modem string to use for VDSL
    and some ISP support direct dhcp on Ethernet0 without PPPoE.
    An equivalent config is working for me in Switzerland with Swisscom.
    N.B. "modem" under VDSL controller is enable using service internal !
    service internal
    controller VDSL 0
    operating mode vdsl2
    modem co5
    ip source-route
    ip cef
    ip dhcp excluded-address 10.0.0.1 10.0.0.149
    ip dhcp excluded-address 10.0.0.199 10.0.0.254
    ip dhcp pool sdm-pool
    import all
    network 10.0.0.0 255.255.255.0
    default-router 10.0.0.1
    dns-server 8.8.8.8
    lease 0 2
    interface Ethernet0
    ip address dhcp
    ip nat outside
    interface Vlan1
    ip address 10.0.0.1 255.255.255.0
    ip nat inside
    ip tcp adjust-mss 1452
    ip nat inside source list 23 interface Ethernet0 overload
    access-list 23 permit 10.0.0.0 0.0.0.255
    end

  • DNS Server Issues with Comcast and Airport Extreme wifi routers

    I am having significant challenges with 3 Airport Extreme (latest gen) wifi routers and my Comcast Xfinitity service.  It once worked just fine, but now I continually get the blinking amber lights stating "No DNS servers" for each of the Airport Extreme (AE) routers.  My configuration is:
    Coax cable -> Comcast Xfinity cable modem -> ethernet to 16-port gigabit ethernet switch ->->-> ethernet to 3 Airport Extremes around the house direct connected with switch
    I have many wifi devices throughout the house (iPads, MacBooks, home automation devices) as well as direct-connected devices via ethernet (one PC connected to AE router).
    Each Airport Extreme router is set with these settings in the Airport Utility app: 
    Internet tab=  Connect using: DHCP
    Wireless tab=  Network mode: Create a wireless network
    Network tab=   Router mode: Off (Bridge Mode)
    I have attempted to put the Xfinity cable modem in bridge mode, and use the Airport Extreme to serve up the IP addresses, but still lost internet connectivity.
    I have also attempted to set the Network tab=> Router Mode to "DHCP and NAT" but get "Double NAT" error issues as well.
    I have tried using the Comcast DNS server addresses (75.75.75.75;75.75.76.76) setting on the Internet tab for the routers and do end up getting a green light, but NO internet connectivity.
    Lastly, I have tried using the Google DNS servers (8.8.8.8;8.8.4.4) setting on the Internet tab the routers giving me the No DNS servers amber light error and again, no Internet connectivity for either wifi-connected or even ethernet connected (directly to Airport Extreme router) devices (like my PC) despite getting a green light on the router.
    Any this point, it really seems that these AE routers are NOT compatible with the Xfinity cable modem or service… (and yes, I've tried power-cycling and restarting the modem, and then the AE routers, MANY times to little avail).
    Should I move one of these Airport Extreme wifi routers to before the switch, and have the other 2 in Bridge mode after the switch?  Do I need to setup a specific range of DHCP reservation addresses for each different AE router?
    Appreciate any insight anyone can share with this aggravating DNS server issue between Comcast & multiple Airport Extreme wifi routers.

    I do not see anything wrong with your basic setup.. the issue is indeed the WAN ports of the AE.. AC version are having problems with some network equipment.
    You have listed a stack of things you have tried.. but I want you to move the ethernet patch cable you use on each AE to its LAN port instead of WAN.
    Restart the airport when you do that.. and then see if it becomes stable.
    In bridge mode the airport moves the WAN port to LAN.. but the WAN port setup itself seems more problematic than the LAN ports.
    There are other methods we can try if this does not work.. but in the end.. I would be tempted to take the whole lot back to apple.. they need to start making equipment that works with standard modems and switches.
    BTW what brand is the 16 port switch?? Does it happen to be managed (smart type)?

  • Dns-server / dhcp cisco 1700

    Hi,
    I wonder if i may run a few questions past you guys. We have a Cisco 1700 at one of our sites which is supposed to be managed but due to problems with the third party company i had to go there to perform some work.
    I wanted to add in a dns server ip. Because i don't have the enable secret (Third PTY won't tell us) i used the break command normally used for password recovery. then once in used "copy start run".
    Q. can i make config changes this way, save the changes then switch the config-register back and reload?
    I managed to make the changes - Dhcp pool - dns-server ip's, right? changed the config-reg back and reloaded. No connectivity. anyway i messed around with different ip's eventually put it back to to original powered of for 5 mins and on again and it was ok.
    Q: have i missed something out?
    Q: could reloading or powering off and on to quickly affect thigs?
    Q: Could the router be downloading it's config or something additional from a TFTP server? Is there anything i can check to confirm this on the config?
    This is the dns part of the config all i want to do is change 1.0.84.187 for 84.33, should be simple?
    ip dhcp pool 0
    network 172.16.0.0 255.255.0.0
    default-router 172.16.0.15
    dns-server 1.0.84.8 1.0.84.187 158.152.1.43 158.152.1.58
    domain-name parkside.net
    lease infinite
    Q: Is this part saying that 1.0.84.187 and 158.152.1.43 are not being used for dns?
    no ip domain lookup
    ip name-server 1.0.84.187
    ip name-server 158.152.1.43
    ip cef
    no scripting tcl init
    no scripting tcl encdir
    Sorry i know thats long winded. Any help on any part of my problem would be much appreciated.
    Kind regards
    J mac

    Hello,
    check for any lines starting with ´boot´ in the upper part of the configuration, it is very well possible that the router is configured to boot a specific file, or from a TFTP server.
    Regarding the change of the DNS server IP address, in DHCP pool configuration mode, first delete the existing line:
    no dns-server 1.0.84.8 1.0.84.187 158.152.1.43 158.152.1.58
    and reenter it:
    dns-server 1.0.84.8 1.0.84.33 158.152.1.43 158.152.1.58
    The DNS servers specified with the ´ip name-server´ command are used for non-DHCP clients.
    Regards,
    Nethelper

  • Command line method to obtain DNS and proxy info?

    Hello All,
    I have poked around the man pages but am not making any progress on this. I am looking for a command that would query the network to find a) whether there is a DNS server, and b) if there is, what the domain and IP address is. Similarly, if there is a proxy server being advertised, how would I get the IP address and port number info from the command line? The command cannot depend on the machine already being configured for DNS or running DHCP because in the majority of cases where I need it, the machine has been set to a fixed IP address and the customer may not know the DNS & proxy information. Right now I am relying on them going to a Windows system and running the ipconfig /all command.
    Any help on this would be apreciated. Thanks,
    Mausul.

    Ok, I tried that, but it seems there is a catch -- I have to first configure the system for DHCP, then the dhcpinfo command will display these values that it obtained from the DHCP server. The problem with that approach is this -- if there is no DHCP server, it will sit there for a long time with the interface "pending command" while it searches. Can I test for the presence of a DHCP server without actually attempting to configure the interface? As I am typing this, I think one way to cheat might be to create a clone of the interface and try to configure the clone for DHCP...

  • Problems with A/V chat, Cisco 2600 routers and more...

    Don't really know where to start...
    First some error messages:
    2005-11-17 12:38:03 +0300: AA AA did not respond.
    Tried to send UDP SIP-«invite» to the following IP-addresses and ports:
    172.XX.X.X:1118
    2005-11-17 13:33:37 +0300: AA AA svarte ikke.
    Tried to send UDP SIP-«invite» to the following IP-addresses and ports:
    172.XX.X.X:1308
    2005-11-18 08:25:22 +0300: BB BB did not respond.
    Tried to send UDP SIP-«invite» to the following IP-addresses and ports:
    66.XXX.XXX.XXX:61437, 192.168.100.3:5060
    I live in rural Tanzania and are trying to help out the local ISP to get AIM/iChat to work properly.
    I've made a picture to illustrate the system, found at:
    http://homepage.mac.com/nummelin/musoma/PhotoAlbum34.html
    I can text chat without any problem.
    Cases:
    1.) I've had luck in calling up user CC CC within the local ISP using iChat but he failes to call me up. (Not sure if he was succesful in turning off his MAC's firewall.)
    2.) The PC (AA AA) in Fig. 1 (found at the link above) have had some success in connecting to me with AV using the AIM client. He's getting the status that we're connected and he can see his picture but my picture is not showing at his end and I just get the message that he didn't respond.
    3.) With BB BB I have had no luck with anything except with text messages and file transfers. (Which also seem to be working as it should with all clients.)
    4.) Connecting with home (Europe) and the US haven't been a problem, but I've noticed somtimes that I can't invite but the other way around works.
    Sumary: Using iChat/AIM A/V within my ISP's net is not working, A/V with users outside of my ISP is working.
    Settings:
    The Firewall setting of my router can be seen at fig. 2 (same link as earlier.)
    All Firewalls have been turned off on all computers (except CC CC where I don't know the status.) when trying to connect with AV.
    So, is the problem the cisco routers...?
    If so, how to change/check the settings/open up the correct ports?
    My ISP have pretty good knowledge of Linux and are of course working with the Cisco router but is not very experienced with it.
    The ISP is using NAT, must admit I don't really get what that is.
    Anyone experienced Cisco users around here?
    Any tips/hints here will be much appritiated.
    I'm just a geek who likes how's, why's and because's...
    Kwa heri na asante sana!

    Used a little different setup today. You can see it here . (Fig.3)
    I did some experimenting using Trillian and AIM on the PC with the following results:
    iChat-Trillian
    Mac-> Pc Video Chat yes
    Pc->Mac Video Chat no
    Mac->Pc Tlf. Yes
    Pc->Mac Tlf. No
    Mac-> Pc File transf. Yes
    Pc->Mac File tranesf. Yes
    Mac->Pc Direct connect yes
    Pc->Mac Direct connect kind of...the picture never shows, just the path on the client it was sent from, like c:/desktop/mysecrets/microcraft.jpg
    iChat-AIM
    Mac-> Pc Video Chat An unknown error occurred
    Pc->Mac Video Chat Yes {AOL} is shown
    Mac->Pc Tlf. n/a
    Pc->Mac Tlf. n/a
    Mac-> Pc File transf. yes
    Pc->Mac File transf. yes
    Mac->Pc Direct connect yes
    Pc->Mac Direct connect yes
    Trillian is behaving in a similar way from my experiences with other macs. I'll have to try that too of course. What's strange here is how different the PC clients are working. I've also tried switching the IP's on the machines with the exact same results. Is the software the actual problem? I'll just have to get that other mac to find out...arghh, too tired right now Zzzzzzzzz.....
    If the service to me is NATed? Yes
    and the rest... Well the ISP is convinced that it is the Cisco routers, but having their mail server hacked they are (still) busy figuring that out...

  • DNS server Error, it says I have no DNS Servers

    DNS server Error, it says I have no DNS Servers

    We cannot help you with that amount of info..
    It says you have no DNS servers on what??
    I presume it is an apple router. What one?? What firmware?
    Plugged into what modem? Is the modem also a router? What mode is the airport in?
    If you changed your network around and have a cable modem. Did you power cycle it for at least 20min.. this is necessary.
    If you want us to help you full disclosure of the whole network.. impossible to answer without.

  • WIC1-AM on Cisco 2801 Routers malfunctioning

    Hi, I wish i will find a permanent solution for my issue which i face for last 8 months.
    I had purchased 5 Cisco 2801 routers to setup in our network which involves
    branch offices and the head office. The branch offices are in different cities. We purchased these rounters with one WIC1-AM for each router keeping in mind to have a backup dialup line once the main link is down. The problem area is here. We have tested the Routers with
    configurations for backup line in our Head office, it worked fine. But when we send them to some of the branch offices, it started malfunctioning. The dialup WIC plays crazy with us.Sometimes works for 10 minutes, and disconnects. One of the branches, the WIC never got up!!.
    Only two branches is properly working now with backup line in WIC-1AM. We have tried the same configurations on the affected routers too, but the result was not hopeful.
    On the same telphone lines, we were (and still) using zyxel prestige 100 MH router and is working perfectly without any single problem to note!
    Thanks for any light to shed on this!

    Hello Mohamed,
    can you post what you have configured on the router(s) that are working ok ? Also, which IOS version are you running on the routers that do not work ? Can you post the outbut of 'debug modem' ? This should give an indication of what is happening...
    Regards,
    GP

  • Cisco prime infrastructure 1.3 makes every 15 minutes cpu high on cisco 800 routers

    I have an issue with cisco prime infrastructure 1.3 and cisco 880 routers, every 15 minutes the cpu goes to 100% on those routers, but I cannot find the job on the prime which is causing this, if I look in the job dashboard I have some jobs like sam_poller_22_15_getvpnpoller_27977292 that runs every 15 minutes (other jobs that I see CDBPoller_dmvpnPoller and CDBPoller_getvpnpoller)   , probably is it on of these jobs, but how can I stop it (job type : poller job, owner =system) and what are they doing?
    thanks for any assistance

    This is what i expected. I know many platform like 29xx/39xx or ISR's has known issues with Cisco Prime Infrastructure when it polls CISCO-LICENSE-MGMT-MIB, devices go high on CPU.
    You have to block clmgmtLicenseInfoEntry by creating a view on your 800 router by configuring snmp view.
    Following is the command/example:
    Step 1: Configure SNMP View:
    snmp-server view iso included
    snmp-server view   clmgmtLicenseInfoEntry excluded
    Link community string to SNMP View:
    snmp-server community view ro|rw
    Example per your configuration:
    snmp-server view PrimeInfra iso included
    snmp-server view PrimeInfra clmgmtLicenseInfoEntry excluded
    snmp-server community ArgSnmp view PrimeInfra RO ACLSNMP_RO
    OR you can try following on your Cisco PI:
    Manually update file below,
    Open the /opt/CSCOlumos/conf/sam/template.xml, modify the template id=20  (licensePoller)
    Update tag for value 600 to 86400 for all attrributes () of
    template id =20
    Old: 600
    New: 86400
    Some known bugs on such issues are :
    CSCug97914 and CSCuc72024
    Please check and let me know the updates.
    -Thanks
    Vinod
    **Rating Encourages contributors, and its really free. **

  • How to capture CISCO Switches / Routers CPU Utilization in MRTG

    Hi,
    I’m using CISCO Switches / Routers and wanted to capture the CPU Utilization of those devices in MRTG. Can anyone help me to get step by step information. Please.!

    Thanks Vinod..!
    I already have MRTG installed and monitoring link bandwidth utilization. Now, Wanted to capture the CPU utilization for those devices.  Can i know the configuration detail needs to be applied in MRTG / Routers or Switches.
    Provided URL don't have much detailed configuration needs to be done at both the side (MRTG / CISCO Devices). Please.
    Thanks,
    Tamil

Maybe you are looking for