I have a strange issue with my DHCP server (which runs Ubuntu Server). When my client machines (also Ubuntu) connect, they get the following in /etc/resolv.conf:
However, I have the following in /etc/dhcp/dhcpd.conf on the server:Code:# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1 search localnet
It doesn't appear that the hosts are getting applied the DNS servers I declared. Instead, they are getting localhost as the DNS server.Code:default-lease-time 86400; max-lease-time 86400; option subnet-mask 255.255.255.0; option broadcast-address 172.16.254.255; option routers 172.16.254.1; option domain-name-servers 172.16.254.5, 172.16.254.1; option domain-name "localnet"; subnet 172.16.254.0 netmask 255.255.255.0 { range 172.16.254.200 172.16.254.250; }





Adv Reply



Bookmarks