[Dnsmasq-discuss] dnsmasq used in AWS
wakelt at comcast.net
wakelt at comcast.net
Fri Jan 8 13:49:49 GMT 2016
Hi Simon;
Thanks for the response below. I have a following question for 2.
1: I am thinking about how best to utilize dnsmasq in an amazon cloud deployment.
I don't think I can circumvent Amazons DHCP system. Any idea how I'd mate the aws
DHCP system to the dnsmasq dns solution ?? Perhaps this has come up before.
thanks,
Walter
----------------------------------------------------------------------
Message: 1
Date: Thu, 7 Jan 2016 20:55:55 +0000
From: Simon Kelley <simon at thekelleys.org.uk>
To: dnsmasq-discuss at lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] DHCP using DNS...can I do the following
?
Message-ID: <568ED0DB.4040502 at thekelleys.org.uk>
Content-Type: text/plain; charset=windows-1252
-----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, wakelt at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160108/58213841/attachment.html>
More information about the Dnsmasq-discuss
mailing list