My Emailiases: Re: My Emailiases: [Dnsmasq-discuss] multiple domain support - question

Simon Kelley simon at thekelleys.org.uk
Tue Aug 5 14:40:54 BST 2008


L Forrister wrote:

>>
> As far the leases file is concerned, doesn't the mac address (and/or the
> client id) provide that differentiation?   I mean, having the same
> unqualified host name on two separate leases would not cause identical
> lines/records in the lease file.

You're right, it wouldn't. removing the name from the leasefile is just
an implementation detail: a way to implement the policy for DNS.
> 
> The dns code, seems not to have a problem with multihomed hosts in
> either /etc/hosts or /etc/dnsmasq.hosts (my dnsmasq addn-hosts file.)
> 
> oso:~
> lf$ dig +short -x 192.168.160.67 -x 192.168.160.68 -x 192.168.160.69
> alkix.rebel.lan.
> alkix.rebel.lan.
> alkix.rebel.lan.
> 
> oso:~
> lf$ dig +short alkix.rebel.lan
> 192.168.160.67
> 192.168.160.68
> 192.168.160.69
> 

It works like it does because the one time when this actually happens to
me is when I move my laptop from a wired network to a wireless one which
is a different subnet. Under those circumstances I don't want DNS
lookups for the laptop's name returning both the current wireless
address, and the old wired one. Anything trying to connect would use a
dead address for half the time until the DHCP lease on the wired network
expired.


Cheers,

Simon.


> ~~L.Forrister
> 
> 
> 
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 





More information about the Dnsmasq-discuss mailing list