Passing DNS server addresses through DHCP?

I'm setting up NAT & DHCP (both as a DHCP client & DHCP server) on a 2621. Since the DNS server address(es) are received on the router's interface configured as a DHCP client, is there a way to pass these (possibly dynamic) address(es) on the internal network clients? What I see in the DHCP server functionality is that the option specifying what DNS server(s) are passed on to clients is hard coded. If hard coding the option is my only choice, do I have any guarantee that the ISP will always use the same IP address(es) for its DNS servers?
Any insight would be appreciated.

Thats exactly what the 'import all' command is for.
In your DHCP server, if you supply the command 'import all', it will seek the DHCP information that was given to it on the interface that has "ip address dhcp". It will store the information like DNS into your DHCP server, and then send that out to all devices receiving DHCP addresses from your server.

Similar Messages

  • 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.

  • Manually provided DNS server addresses are higher priority than DHCP's

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    With the recent revelation of DNS server security issues, many have expressed a desire to use DNS servers they know to be secure rather than the servers specified by their routers via DHCP, which often are those of a particular ISP.
    When you manually enter a DNS server address in Mac OS X Leopard's Network preference pane, the manually entered address(es) appear below any DHCP-provided addresses (which are shown in grey as they are unchangeable), leading one to assume that DHCP-provided addresses always have priority over any a user may specify.
    However, a check of the /etc/resolv.conf file generated by Mac OS X shows that in fact user-provided DNS addresses will supercede any provided by DHCP.
    As an example, if your router promotes itself as a DHCP server, its IP address, say "192.168.0.253," will appear, greyed out, in the Network->Advanced->DNS preferences pane.
    If you then add, say, OpenDNS' addresses of "208.67.222.222" and "208.67.220.220," the preferences window will show:
    192.168.0.253 (greyed out)
    208.67.222.222
    208.67.220.220
    But the generated /etc/resolv.conf will show the order Mac OS X will actually reference the servers is:
    nameserver 208.67.222.222
    nameserver 208.67.220.220
    nameserver 192.168.0.253
    While this is non-intuitive, given how the addresses are displayed in the preference pane, it is exactly the way a user would hope things would work - allowing one to specify DNS servers to be used in lieu of any a router provides, especially handy if the router propagates the address of a DNS server that is having issues, that is untrusted or is simply overloaded or offline.
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

    That's very good to KNOW.
    I figured it as such as I have some manual entries for the office and I don't use profiles, so it stays there when I go home.
    I notice a slow-down when office DNS entries are used at home -as one would suspect.
    I do like KNOWING that it's the case though - thanks for the info!
    Scott

  • WRT54GS question.....DNS Server address?????

    Someone please help,
              I had a problem with my wireless not working on my 2nd PC. I originally thought that it was because of that PC being old and possibly having some trojan horses or other virus's that i could not get off. I have since threw out that PC and bought a new notebook yesterday at BestBuy. I told the man from geeksquad that i was having a problem with my wireless at home. He said that if the notebook could not connect to the wireless to push the red reset button on the back of the router and start over with redownloading it on my PC.
            I have done that, but am stuck on step 8 of the wizard. I have the IP Address, Subnet Mask, and Gateway. It is now asking for DNS 1(DNS Server address). What is DNS & where would i find this? I've had this router for about 2 years, will there be any other important information that i may need when trying to connect my notebook through this router?
               Thanks for your advise.

    I did find the DNS address's, but once i tried to finish the setup of the router it said, Unable to configure router, reset the router to factory default settings. Well in short, after some searching, i wired the PC directly to the modem. It would not connect to the internet. Did I do something or delete something I shouldn't have? Looks like it. UGH!! My notebook is working just fine connected directly to the modem, but I'm getting nothing with the PC connected to the modem or the router.
    ANYONE HELP???????

  • 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

  • Two vpngroup vpnadmin dns-server addresses

    Has anyone or does anyone know how to put two vpngroup vpnadmin dns-server addresses on a PIX 515E?  I am trying to set up a second DNS Server and without the command in the PIX my VPN clients cannot authenticate through the PIX on the second DNS Server.  I have tried several times to put the command in but it keeps removing the existing one and replacing it with the one I try to put in.  Any help would be appreciated.
    Randy L Brown

    You can configure both DNS server on the same command as follows:
    vpngroup vpnadmin dns-server
    Hope this helps.

  • "Back to my Mac isn't working properly because your DNS server isn't responding. Contact your ISP for an alternate DNS server address, and enter it in Network Preferences".

    Hi, i am trying to setup back to my mac at home but I get the error "Back to my Mac isn't working properly because your DNS server isn't responding. Contact your ISP for an alternate DNS server address, and enter it in Network Preferences".
    There is no documentation on how to solve this anywhere.
    I have an Arris router set to bridged mode which is connected to a 5th generation airport extreme. I have tried using the google dns servers instead of the one assigned by the cable company in the AE but I still get the same error.
    Any help would be much appreciated
    Kenneth

    New to BTMM, I got stung today with the silly DNS problem message. Solution:
    1) Flush DNS cache with:
    dscacheutil -flushcache;sudo killall -HUP mDNSResponder
    2)System preferences > iCloud > untick BTMM then tick it again. The warning should have disappeared.
    Edit #1
    Apologies for the noise. The warning has come back
    Edit #2
    Just found out that BTMM is not compatible with double NAT. That's not helpful.
    http://support.apple.com/kb/TS1208

  • Can't delete grayed-out DNS server addresses

    I want to replace two grayed-out DNS server addresses from the Network panel (under the DNS tab in "Advanced…"), to replace them with OpenDNS settings. But they can't be selected/deleted. How do I get around this problem?

    That is correct - those are provided by your router and can not be deleted - you can add Open DNS servers (click the + sign) or log into the router admin page (I recommend this way) and have your router use the Open DNS servers fro everything on your network (this will change the grayed out ones)
    LN

  • How to prevent changing DNS server address

    I work for a public school district. We just purchased our first batch of Win 8.1 PCs, but they are not the Pro version, so there is no gpedit.  I want to prevent students from accessing the TCP/IPv4 Properties dialog box in order to ensure that the
    DNS server address is always obtained automatically.  Can anyone tell me how to do this using regedit, or any other way?  Thanks!

    Easiest way is to assign these students a standard user account (without admin rights).. They cant change any system setting then.. Other than restricting privileges I don't think you have option here since you don't have group policy editor ..
    There could be a possibility to do this using regedit But it is not recommended since there are no any official article for this other than below untested third party article form ehow
    http://www.ehow.com/how_8110801_disable-tcpip-properties-regedit.html
    Besides it could be tedious.. enabling and disabling it.. 

  • How do I get a DNS server address?

    How do I find my DNS Server address?  I intalled my Airport to my new PC and it has a yellow light and while other wireless computers can see the network they cannot to the internet.

    You cannot get a .mac address any longer - it is all now based on mobileme so xxx.me.com is the email addy domain.
    To get one, you need to subscribe to the mobileme service - http://www.apple.com/mobileme/

  • How to pass KDC server address and REALM in Krb5LoginModule ??

    Hi All,
    I want to pass KDC server address and REALM in Krb5LoginModule() with using configuration file or command line options.
    I tried with initialize method of Krb5LoginModule() with passing KDC configuration parameters in sharedState.
    Map state = new HashMap();
    state.put("javax.security.auth.login.name", "user");
    state.put("javax.security.auth.login.password", "pass");
    state.put("java.security.krb5.realm", "TEST.COM");
    state.put("java.security.krb5.kdc", "kdc.test.com");
    Map options = new HashMap();
    options.put("debug", "true");
    options.put("tryFirstPass", "true");
    options.put("useTicketCache", "true");
    options.put("doNotPrompt", "true");
    options.put("storePass", "false");
    options.put("forwardable", "true");
    Krb5LoginModule login = null;
    try {
    login = new Krb5LoginModule();
    login.initialize(new Subject(), new TextCallbackHandler(), state, options);
    if(login.login()){
    login.commit();
    But i getting this exception:
    [root@localhost TEST]# java JaasAcn1
    Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt true ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is true useFirstPass is false storePass is false clearPass is false
    Acquire TGT from Cache
    Principal is null
    null credentials from Ticket Cache
    username from shared state is user
    username from shared state is user
    Exception in thread "main" java.lang.ClassCastException: java.lang.String
    at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:773)
    at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:654)
    at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:503)
    at JaasAcn1.main(JaasAcn1.java:31)
    Please give some pointers to solve the problem.
    Thanks in advance.
    Regards,
    raj singh

    The exception
    Exception in thread "main" java.lang.ClassCastException: java.lang.String
    at com.sun.security.auth.module.Krb5LoginModule.promptForPass(Krb5LoginModule.java:773)
    at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:654)
    at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:503)
    at JaasAcn1.main(JaasAcn1.java:31)clearly shows that your format for password is wrong in the shared state. String is evil, use char[] instead. Here it should be "pass".toCharArray().

  • Where do I get DNS server addresses?

    We just upgraded a new 100 mbyte broadband modem and the AirPort Express  doesn't seem to be recognizing it. The light just keeps flashing orange
    The setup assistant says I don't have any DNS server addresses . Where do I get these?

    Did you reset the Express to factory settings and then run the assistant? - it should pick up the settings from the modem automatically - also is the modem just a modem or a wireless router also?

  • Do I need to run local DNS server for NAT/DHCP to work?

    Hello,
    I'm coming across all kinds of explanations how to set up a server for public access, having a static IP and a pointed domain, but I have a dynamic public IP and don't need the server to be accessible through a domain name. I just want all the computers in my office to connect to the web over 1 cable connection. I've used Gateway Setup Assistant to set up NAT and DHCP and DNS and what not, but it didn't work out of the box. After some bootpd.plist fixes I now have DHCP working, it's handing out IP addresses, but all LAN connected machines cannot get onto the web, only the server can.
    What am I doing wrong? Should I configure my DNS server differently? Or should it not be on at all, couldn't the local machines use my ISP's DNS servers?
    Currently DNS is configured like this:
    Settings are:
    accept recursive queries from the following networks: localnets
    forwarder IP addresses: (empty)
    Zones are:
    private. primary zone
    134.23.24.in-addr.arpa. reverse zone

    Though still a valid question for others I guess, I got my DNS working. The network preferences didn't have external DNS servers configured for the local network interface.

  • V240 ALOM resets every time it requests an IP address through DHCP

    I'm encountering an issue with an ALOM configured to DHCP. Every time it requests an IP address (tracked by watching messages on the DHCP server, which is running Red Hat EL4 update 4), the ALOM resets. All the POSTs pass. If it's configured for a static IP, it stops resetting, but immediately begins doing it again if switched back. I've encountered this with two different ALOMs on different V240s, so I'm guessing it's not hardware, but it hasn't happened 100% of the time either (it seems to DHCP fine most of the time, then it will get into this state and stay there).
    Here's output from the reset grabbed from the serial console:
    sc>
    ALOM BOOTMON v1.6.5
    ALOM Build Release: 001
    Reset register: e8000000 EHRS ESRS LLRS CSRS
    ALOM POST 1.0
    Dual Port Memory Test, PASSED.
    TTY External - Internal Loopback Test
    TTY External - Internal Loopback Test, PASSED.
    TTYC - Internal Loopback Test
    TTYC - Internal Loopback Test, PASSED.
    TTYD - Internal Loopback Test
    TTYD - Internal Loopback Test, PASSED.
    Memory Data Lines Test
    Memory Data Lines Test, PASSED.
    Memory Address Lines Test
    Slide address bits to test open address lines
    Test for shorted address lines
    Memory Address Lines Test, PASSED.
    Memory Parity Test
    Memory Parity Test, PASSED.
    Boot Sector FLASH CRC Test
    Boot Sector FLASH CRC Test, PASSED.
    Return to Boot Monitor for Handshake
    ALOM POST 1.0
    Status = 00007fff
    Returned from Boot Monitor and Handshake
    Clearing Memory Cells
    Memory Clean Complete
    Loading the runtime image...
    Sun(tm) Advanced Lights Out Manager 1.6.5 (Pool0007)
    Full VxDiag Tests
    BASIC TOD TEST
    Read the TOD Clock: WED OCT 31 11:10:38 2007
    Wait, 1 - 3 seconds
    Read the TOD Clock: WED OCT 31 11:10:40 2007
    BASIC TOD TEST, PASSED
    ETHERNET CPU LOOPBACK TEST
    50 BYTE PACKET - a 0 in field of 1's.
    50 BYTE PACKET - a 1 in field of 0's.
    900 BYTE PACKET - pseudo-random data.
    SC Alert: SC System booted.
    ETHERNET CPU LOOPBACK TEST, PASSED
    Full VxDiag Tests - PASSED
    Status summary - Status = 7FFF
    VxDiag - - PASSED
    POST - - PASSED
    LOOPBACK - - PASSED
    I2C - - PASSED
    EPROM - - PASSED
    FRU PROM - - PASSED
    ETHERNET - - PASSED
    MAIN CRC - - PASSED
    BOOT CRC - - PASSED
    TTYD - - PASSED
    TTYC - - PASSED
    MEMORY - - PASSED
    MPC850 - - PASSED
    Please login:
    Serial line login timeout, returns to console stream.
    Enter #. to return to ALOM.
    ALOM BOOTMON v1.6.5
    ALOM Build Release: 001
    Reset register: e8000000 EHRS ESRS LLRS CSRS
    ALOM POST 1.0
    Dual Port Memory Test, PASSED.
    TTY External - Internal Loopback Test
    TTY External - Internal Loopback Test, PASSED.
    TTYC - Internal Loopback Test
    TTYC - Internal Loopback Test, PASSED.
    TTYD - Internal Loopback Test
    TTYD - Internal Loopback Test, PASSED.
    Memory Data Lines Test
    Memory Data Lines Test, PASSED.
    Memory Address Lines Test
    Slide address bits to test open address lines
    Test for shorted address lines
    Memory Address Lines Test, PASSED.
    Memory Parity Test
    Memory Parity Test, PASSED.
    Boot Sector FLASH CRC Test
    Boot Sector FLASH CRC Test, PASSED.
    Return to Boot Monitor for Handshake
    ALOM POST 1.0
    Status = 00007fff
    Returned from Boot Monitor and Handshake
    Clearing Memory Cells
    Memory Clean Complete
    Loading the runtime image...
    Sun(tm) Advanced Lights Out Manager 1.6.5 (Pool0007)
    Full VxDiag Tests
    BASIC TOD TEST
    Read the TOD Clock: WED OCT 31 11:18:36 2007
    Wait, 1 - 3 seconds
    Read the TOD Clock: WED OCT 31 11:18:38 2007
    BASIC TOD TEST, PASSED
    ETHERNET CPU LOOPBACK TEST
    50 BYTE PACKET - a 0 in field of 1's.
    50 BYTE PACKET - a 1 in field of 0's.
    900 BYTE PACKET - pseudo-random data.
    SC Alert: SC System booted.
    ETHERNET CPU LOOPBACK TEST, PASSED
    Full VxDiag Tests - PASSED
    Status summary - Status = 7FFF
    VxDiag - - PASSED
    POST - - PASSED
    LOOPBACK - - PASSED
    I2C - - PASSED
    EPROM - - PASSED
    FRU PROM - - PASSED
    ETHERNET - - PASSED
    MAIN CRC - - PASSED
    BOOT CRC - - PASSED
    TTYD - - PASSED
    TTYC - - PASSED
    MEMORY - - PASSED
    MPC850 - - PASSED
    Please login:

    Look in XP control panel/device manager. Check Network Adapters, is there a yellow tick on the Nvidia nForce Networking Controller?
    Click on nVidia and select the Driver tab. My Driver Provider is NVIDIA, Driver Date: 4/6/2005, Driver Version: 4.8.2.0 and it is Digitally Signed. The Nvidia driver file version is 1.00.00.0482. Mine works fine.
    Have you tried the Marvell Yukon NIC? That should work.
    Bob...

  • XP Machine gets bad DNS Server address

    I was having issues with my Mini MAC dropping the wireless connection with my old Linksys Wireless G router so I went out and bought a new Airport Extreme, it was time for an upgrade to N and GigE anyway. Now I can't get my old Dell Box running WinXP to access the internet. I can surf my own network just fine. Below is a similar set of data when running ipconfig /all. Note this is not my box but it has the same DNS and DHCP server settings. I compared mine value for all fields when connected to my Linksys and AE. The only difference was the DHCP and DNS server settings. I haven't tried another Wired computer yet but every Wireless device connects to the internet just fine (Mini MAC, Wii). I've done all the power cycling suggestions but to no avail. Any Ideas? I am hoping to test another wired device to see to hopefully isolate it to WinXP/My NIC and not a wireless vs wired thing. The WinXP box uses a 100Mb speed. I do have a NAS (ReadyNAS NV+) running on the network but it doesn't/isn't connect to the internet and it is running just fine. Same is true for my network attached printer (Brother). Again any ideas/suggestions are appreciated.
    C:\Documents and Settings\Owner>ipconfig /all
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : your-w04gtxld67
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
    Physical Address. . : 00-0C-76-87-6A-A0
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IP Address. . . . . . . . : 10.0.1.2
    Subnet Mask . . . . . . . . . :255.255.255.0
    Default Gateway . . . . . : 10.0.1.1
    DHCP Server . . . . . . . . : 10.0.1.1
    DNS Servers . . . . . . . . . . . : 10.0.1.1
    Lease Obtained. . . . . : Tuesday, May 23, 2006 3:16:46 PM
    Lease Expires . . . . . . . . . . : Tuesday, May 23, 2006 7:16:46 PM

    IP Address. . . . . . . . . . . . : 10.0.1.70
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Ok, these seem appropriate for what I would expect coming from the AirPort's DHCP server, although x.x.1.70 seems a bit odd but within the default range.
    Default Gateway . . . . . . . . . : 192.168.1.2
    This may be the problem. With the IP address assigned to your computer of 10.0.1.70, I would expect that you would get a Default Gateway address of 10.0.1.1. The one you got here is on a totally different private IP range. That would mean your computer will not be able to access the AirPort.
    DHCP Server . . . . . . . . . . . : 10.0.1.1
    This is correct and what I would expect.
    DNS Servers . . . . . . . . . . . : 208.67.222.222 208.67.220.220
    These are also correct since you are substituting the OpenDNS servers for your ISP's.
    We would need to figure out why your PC is getting assigned a Default Gateway address from the wrong subnet.

Maybe you are looking for