Linux.com

Re: Using as external DNS, point to different hosts depending on requestor IP

Posted by: Anonymous [ip: 75.121.113.232] on October 12, 2008 01:11 PM
If you are expecting the laptop to have a different IP address at site B, it must be contacting a different DHCP server at that site. Using dnsmasq as an example, the simple solution would be to define DNS entries in /etc/hosts for names specific to that site, and using resolv.conf to point to the external DNS for other names.

#

Return to Enhance your DNS and DHCP services with dnsmasq