[Dnsmasq-discuss] dnsmasq used in AWS

Simon Kelley simon at thekelleys.org.uk
Sat Jan 9 18:31:11 GMT 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

My experiecne of AWS is limited to S3, sorry. Are you sure that AWS's
DHCP doesn't provide this facility out-of-the-box?

Cheers,

Simon.

On 08/01/16 13:49, wakelt at comcast.net wrote:
> 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
>> 
> 
> 
> 
> 
> 
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk 
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJWkVHvAAoJEBXN2mrhkTWiNNUP/1cIYOrjFYNoHfeui6rM2wut
nneIcuZdodc6m4W332kR20Up6nmGEO9YzL+fQi/3vsNuxs1ynUJIoJ5amPInWUPR
1MIvKo+MsC6+mfbgdJPHIDvUE+zeb5c39ptjb8S3FH6Cl+ITIkrUBP7KG5+Zm/0D
ihmoPjsooqEpznKrMO0vshJC9s/l9FhmhuSmcpCqk5FooufeziwC/q39vhHRqByk
vkqA8qamLgcxcGLe+C1KycbHyyP9j6cgUEsFe1V1qdmtjNg2F6+zrpYT/vzpg8Or
vIJahbiAyrcBeIhSyvD4HCi5AqxYfhzwfvFacbHYAoJZasP+jzi9foAqlo4Ypu83
z2Zu0p4WCh2FlBEnpMjBEjKsWWUq8EPz624/bW3yvKUdedLVLXaLxL915S5yX31Y
NXVPpzTuvlOHlPA6vP7mruJ0C3eIKLSy8VCIrnC39+GgXaq55Qf3dDOU1KIt9vt5
46fNhNCnNAxF76lGv6hPsR329K2bg+cigKKB3UzjxqDOZr3oaZfMnJHfuV0oUHdx
hVNqkX0MwYyd6XZJv40slM/DYDCOgIoppJJZ1/U9SUeV0/jdwqOZfi2wqdxUIV49
+/gJSidD5nm3NjnjGkLjRJ02/i+CmQHZDZFzFTfhcLEV0tPgfgTIAEYd5VYddtrL
GToo+L7rs0WiTv/WEisF
=4nxI
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list