I have a ClarkConnect (CentOS based) box running as my home router on a RR connection. I had the DNS servers set up to use Google's DNS server. I want to change them back to the local DNS servers but I can't find an obvious/easy way to get those address short of a) reconfiguring the router's network to DHCP them (would rather not interrupt everyone) or b) calling their tech support (kill me now!).

Is there a command line tool/command I can use to query the DHCP server on the external NIC to see what DNS servers it would set me up with w/o munging my existing setup?

migrated from serverfault.com Dec 30 '10 at 16:03

This question came from our site for system and network administrators.


If the question you really want to answer is "what are roadrunner's DNS servers?", Google finds RoadRunner docs on this (not responding currently -- cached version) with a big list of DNS servers in various areas of the country.

If you really do want to find out how to query the DHCP server, then this won't help.

aside: How would changing the DNS servers interrupt people on your network? If they got DNS servers from your router when their machines made DHCP requests locally, then they'll keep the Google DNS servers locally until their lease expires. New machines which connect to your router will get the local ISP DNS servers.

  • The +1 is for your aside. – user3463 Dec 31 '10 at 2:20

You don't. The DHCP server will tell you.

At least, if it's properly configured to send the domain-name-servers option parameter with the rest of the details when it hands out your IP address and network settings.

That option is a standard part of the DHCP protocol, and every existing server and client implentation should honor it if it's configured properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.