How to get dhcpd to pickup nameserver from /etc/resolv.conf
The subject about says it all. CentOS 7 - my DHCP server has the nameserver hard coded in /etc/dhcp/dhcpd.conf. I am using this box as a router and for VPN sharing. I can get the VPN's nameserver into /etc/resolv.conf. I need to be able to restart dhcpd and have it read the current VPN's nameserver so that it can be served to the computers on my LAN as they connect and obtain their IP address.
Any ideas?
TIA,
Ken
|