<html><body><div style="font-family: Arial; font-size: 12pt; color: #000000"><div>Hi Simon;</div><div><br></div><div>Thanks for the response below. I have a following question for 2.</div><div><br></div><div>1: I am thinking about how best to utilize dnsmasq in an amazon cloud deployment.</div><div> I don't think I can circumvent Amazons DHCP system. Any idea how I'd mate the aws</div><div> DHCP system to the dnsmasq dns solution ?? Perhaps this has come up before.</div><div><br></div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">thanks,</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Walter<br><div><br></div><br>----------------------------------------------------------------------<br><div><br></div>Message: 1<br>Date: Thu, 7 Jan 2016 20:55:55 +0000<br>From: Simon Kelley <simon@thekelleys.org.uk><br>To: dnsmasq-discuss@lists.thekelleys.org.uk<br>Subject: Re: [Dnsmasq-discuss] DHCP using DNS...can I do the following<br> ?<br>Message-ID: <568ED0DB.4040502@thekelleys.org.uk><br>Content-Type: text/plain; charset=windows-1252<br><div><br></div>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA256<br><div><br></div>It do can exactly that.<br><div><br></div>The configuration goes in dhcp-host statements<br><div><br></div>dhcp-host=mickey,192.168.0.10<br><div><br></div>ensures that when a DHCP request turns up from a macine idetifying<br>itself as "mickey", it gets given address 102.168.0.10 and<br><div><br></div>"mickey" 192.168.0.10<br><div><br></div>gets added to the DNS.<br><div><br></div><br>Cheers,<br><div><br></div>Simon.<br><div><br></div>On 07/01/16 15:31, wakelt@comcast.net wrote:<br>> <br>> <br>> I am building a system containing many virtual machines. Each<br>> virtual machine will have a unique hostname, and the hostname<br>> <br>> will be included in the domain name. The system will live on its<br>> own subnet. The system could change over time (more machines<br>> <br>> added to system)<br>> <br>> <br>> <br>> I need to replicate this system in many different locations and am<br>> looking for a way to simplify the management of IP addresses<br>> <br>> within the subnet, and create a similar look and feel across all<br>> the installations.<br>> <br>> <br>> <br>> I?ve heard very nice things about dnsmasq?thus am considering it.<br>> <br>> <br>> <br>> I am wondering if the dnsmasq DHCP server functionality interacts<br>> with the dnsmasq DNS functionality so that IP addresses can<br>> <br>> be based on Hostname contained in the DHCP parameter instead of MAC<br>> addresses (I don?t have control over mac addresses, nor do I want<br>> to). Basically when a dhcp request from a host hits the dhcp<br>> server, the server checks with dnsmasq dns first to see if that<br>> hostname is contained in file containing the<br>> <br>> <br>> <br>> address=/myhost/<ipaddress><br>> <br>> <br>> <br>> information. If so, it responds with the ip address specified in<br>> DNS. If not, it provides a new ip address.<br>> <br>> <br>> <br>> Basically, I want to control dns resolution and ip assignment in a<br>> single place (at the dns/dhcp server) as opposed<br>> <br>> to having N number of machines with /etc/host files.<br>> <br>> <br>> <br>> Thanks in advance, Walter<br>> <br><br></div><div><br></div></div></body></html>