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

L Forrister e1-7n32-h2qw-w2h3 at snugmail.com
Tue Aug 5 17:16:04 BST 2008


Simon Kelley (simon at thekelleys.org.uk) (Emailias: REPLY-MASKED) wrote:
> Original Sender:  <simon at thekelleys.org.uk>
> Given To:  lists.thekelleys.org.uk: Dnsmasq-discuss Info Page
> http://www.emailias.com/mailclick/?id=243457
> <--------------------end emailias header-------------------->
>
> 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.
>
>   
Then what's really needed is an indicator to distinguish roaming hosts 
from multihomed/duplicate-named hosts. 

~~L.Forrister




More information about the Dnsmasq-discuss mailing list