-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 It do can exactly that.
The configuration goes in dhcp-host statements dhcp-host=mickey,192.168.0.10 ensures that when a DHCP request turns up from a macine idetifying itself as "mickey", it gets given address 102.168.0.10 and "mickey" 192.168.0.10 gets added to the DNS. Cheers, Simon. On 07/01/16 15:31, wak...@comcast.net wrote: > > > 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 > > > > > > > > > > > > > _______________________________________________ Dnsmasq-discuss > mailing list Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCAAGBQJWjtDaAAoJEBXN2mrhkTWidGgQAImVM2iSmmGYlZHgT8pZM0kR 6hKE8jT9scuFopWGXZx0xlIdDP5s2cnlUBY+XL0N9YfF18z8q0v71uDzvcrRMUKU 2peLmim2dh/3yPKqZx/jV4j89nuIlNB1PUzRIEO6vavNg5q+EGNygDuhO1oKi2NP 19AZRVxCk+87FyQfUHgUAD3Ahih1Inq0D07P3dnRb72Z6QiYMxb+2iXX1yQYaOFG NotuHCTR9/beGuvsrQEJ+EUS7OfbvegRoZO7YLnqSgaOUTE+yQjUdRxQ2AfiQF+B TpyhE0pTXExmgywPxek/Vr2mspvcr0QAas2UZV23cdc++Y4DeGSndmZDfhDywSte w/59SBqRs2XGVzw4khD9F0/NZ4yMUNRZBU6MMIBa0uXHdQPnJ5gcfYnXsJFO7GVy 2b7tirQS/i4GGIOpt3jC2/n2jZ95k36NndK4QnlwSTGX3NuOqSatNfODM7aXtS88 ux6dO62IOeyLeKe8i4I4qjOIoqRhpj5CxTL28vANI841fSAkDuq0Loc0L7DYTBZs cutu0K06LuFy8LggoZjUZNQUP7urvSBMArQJMOY3yTEYQSKkesQnxaUx0PGONh5p H7Zdu70QgKNDkv+kWnK4OYBMcToepc3Z8/drwzeiiBROziDVEHwkcg6GownKQ+cY LouE9r9UCxuH2ei5u/bI =jyVh -----END PGP SIGNATURE----- _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss