How to query a DHCP server to get the local DNS serves
Posted
by
Dan Berlyoung
on Server Fault
See other posts from Server Fault
or by Dan Berlyoung
Published on 2010-12-30T15:40:12Z
Indexed on
2010/12/30
15:56 UTC
Read the original article
Hit count: 362
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 T/S (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?
© Server Fault or respective owner