[Dnsmasq-discuss] How to answer DNS for a host that has not gotten a lease?

John Hanks griznog at gmail.com
Thu Dec 29 07:58:26 GMT 2016


Hi,

I frequently set up static dhcp-host entries for hosts that won't boot for
some time or may go away for long periods but I'd still like to have
dnsmasq respond to DNS queries based on this host/static IP. Currently I
accomplish this by having a script which parses my dhcp-host entries and
builds a host file for all the entries. Is there any way to tell dnsmasq to
do answer for hosts that may not have gotten a dhcp lease yet so that I
don't need to do this double-entry?

Thank you,

jbh
-- 
‘[A] talent for following the ways of yesterday, is not sufficient to
improve the world of today.’
 - King Wu-Ling, ruler of the Zhao state in northern China, 307 BC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20161229/cab9e069/attachment.html>


More information about the Dnsmasq-discuss mailing list