[Dnsmasq-discuss] Unable to resolve before dhcp

Simon Kelley simon at thekelleys.org.uk
Sat Apr 2 18:11:39 BST 2016


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



On 21/03/16 23:48, David Erickson wrote:
> All- We are using dnsmasq inside ddwrt and have noticed that we are
> unable to resolve reserved dhcp names until after a device has
> dhcp'd.  IE the following config line:
> 
> dhcp-host=xx:xx:xx:xx:xx:xx,myname,10.128.0.2,2880m
> 
> I won't be able to resolve "myname" or "myname.domain.name" until
> the device with that MAC address has issued a dhcp request.
> 
> Is this expected behavior?

Yes, for the reason that there may be dhcp-host configs associating a
host with addresses on more than one network, and only the address on
the network where the host currently has a DHCP lease should appear in
the DNS.

> Can I correct this without having to add a corresponding
> host-record line for every dhcp-host entry?
> 

No, that's the recommended way to do it.


Cheers,

Simon.


> Thanks, David
> 
> 
> 
> _______________________________________________ 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)

iQIcBAEBCAAGBQJW//1KAAoJEBXN2mrhkTWi6YIP/iTKSv+IDG2nrQJN4CQEQv2o
kUSj9OpGvb7gEEMkXhpBn87ad/bUExuch/17/Bd1spkS0gyeDa0wvUTJF+YmW53G
cv5R/5KEH91uEEJxb0Vb4rf5TorrQp441mDMbJjYDbWo8qrka5ngtya0VDxnAMQY
uUh7bS9t+vRJW9z1JYUpQmptfQI1+3f3ja6RUoHiWS2WF/vOv5IFzHg/ED2T+Z80
XBOa8JhTjiBeHc7sdIkeyKK5cC1IZbh34zr3PrG15gmD6t7KDOGqK0eUqFCBJkRW
+9MhnEJRIG6TIPjkiaCuPcPze2OnqZSwcg8L0txQCh+3aEe5ynp7UDX9DIgSgZcL
du7HiN88pSYQY0DaKEqtRf/23OjNXY7ijsyE2V5X2zN2Pw9I8SE5/Spkij/vo3NM
96zyTnydHIMM/91qT3rTy9E/9sW0+4IUPoMXW8yWbQqSH8bPtOB4Rq3ASU+ZXqDk
AmsmfJOjxfKL/kN9kYKxH7I3/hHbdKCYvvDLq88gtiu3IWo87fOYZ2IMpk3ovOv0
5F5UQU0/5yOaUrkFHcTn/BlflVcLQyZp5ksBBF4uRDS6X45hVh+q9orFb3ZA6NDz
7b0wXSQ5g8XaW0+ViAzFxAXkNMg7GbxJvKBgCt6yIzxiF3R1jEEZdMv1AaU9em7P
9NtJOJbm6UsC7Lvqt+Ks
=7tzZ
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list