[Dnsmasq-discuss] DHCP using DNS...can I do the following ?

wakelt at comcast.net wakelt at comcast.net
Thu Jan 7 15:31:12 GMT 2016



I am building a system containing many virtual machines. Each virtual machine will have a unique hostname, and the hostname 

will be included in the domain name. The system will live on its own subnet. The system could change over time (more machines 

added to system) 



I need to replicate this system in many different locations and am looking for a way to simplify the management of IP addresses 

within the subnet, and create a similar look and feel across all the installations. 



I’ve heard very nice things about dnsmasq…thus am considering it. 



I am wondering if the dnsmasq DHCP server functionality interacts with the dnsmasq DNS functionality so that IP addresses can 

be based on Hostname contained in the DHCP parameter instead of MAC addresses (I don’t have control over mac addresses, nor do I want to). Basically when a dhcp request from a host hits the dhcp server, the server checks with dnsmasq dns first to see if that hostname is contained in file containing the 



address=/myhost/<ipaddress> 



information. If so, it responds with the ip address specified in DNS. If not, it provides a new ip address. 



Basically, I want to control dns resolution and ip assignment in a single place (at the dns/dhcp server) as opposed 

to having N number of machines with /etc/host files. 



Thanks in advance, 
Walter 









-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160107/1bbd4bb5/attachment.html>


More information about the Dnsmasq-discuss mailing list