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