How to query a DHCP server to get the local DNS servers
Posted
by
Dan Berlyoung
on Super User
See other posts from Super User
or by Dan Berlyoung
Published on 2010-12-30T15:40:12Z
Indexed on
2010/12/30
20:56 UTC
Read the original article
Hit count: 278
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?
© Super User or respective owner