DHCP handing out the wrong dns servers
I am using CentOS 4.4 and a setup I've been using broke this week.
In dhcpd.conf I have a global option: option domain-name-servers hostname; I also use this box as a firewall/router and now all of my LAN hosts are getting their DNS set to the public IP from the WAN interface. I can't tell if this is a named problem or a dhcpd problem. For example "hostname" on this particular server resolves to 10.0.0.1 hostname.example.com resolves to 70.x.x.x. My windows hosts get the 70.x.x.x number. Thanks in advance |
Quote:
Code:
option domain-name-servers 10.0.0.1; |
yes, that works. I am curious why the other way does not though.
|
All times are GMT -5. The time now is 11:18 AM. |