cleanroom
August 22nd, 2007, 04:11 PM
Hi
I'm running Feisty server as a DHCP server and gateway for about 12 computers to the internet. I'm also running a transparent squid proxy on the server. While I can access websites with domain name on my server, all the computers (windows systems) on my network can access websites by ip address only. So I could get around this problem by manually specifying dns servers on each of the 12 computers, but I'm sure that there is an easier way. My /etc/resolv.conf file is not updating the way that I would expect. In my dhcp.conf file have changed the dns address that I want dhcp3 to use. Then I restart dhcp3 and look that the resolv file and it still has the old dns addresses in it. I have also tried configuring the /etc/dhcp3/dhclient.conf such that the line
prepend domain-name-servers 127.0.0.1;
is uncommented and changed to the dns ipaddress of choice. After restarting dhcp3 I look at the resolv file and the prepend dns server is at the top, but the other server addresses are still unchanged.
So two questions.
1. Is there an obvious reason why the dhcp server is not allowing dns access to the computers on my network?
2. Is there another place that dns servers are specified besides the config files located in /etc/dhcp3/ and is that why my /etc/resolv.conf file is not updating as I expect it to?
I'm running Feisty server as a DHCP server and gateway for about 12 computers to the internet. I'm also running a transparent squid proxy on the server. While I can access websites with domain name on my server, all the computers (windows systems) on my network can access websites by ip address only. So I could get around this problem by manually specifying dns servers on each of the 12 computers, but I'm sure that there is an easier way. My /etc/resolv.conf file is not updating the way that I would expect. In my dhcp.conf file have changed the dns address that I want dhcp3 to use. Then I restart dhcp3 and look that the resolv file and it still has the old dns addresses in it. I have also tried configuring the /etc/dhcp3/dhclient.conf such that the line
prepend domain-name-servers 127.0.0.1;
is uncommented and changed to the dns ipaddress of choice. After restarting dhcp3 I look at the resolv file and the prepend dns server is at the top, but the other server addresses are still unchanged.
So two questions.
1. Is there an obvious reason why the dhcp server is not allowing dns access to the computers on my network?
2. Is there another place that dns servers are specified besides the config files located in /etc/dhcp3/ and is that why my /etc/resolv.conf file is not updating as I expect it to?