[Dnsmasq-discuss] Polling /etc/hosts

Dan Flett conhoolio at hotmail.com
Fri Sep 30 02:13:47 BST 2005


Hi there,

Can anyone tell me if DNSMasq can be made to poll /etc/hosts or equivalent 
in the same way it polls /etc/resolv.conf?  Or is it necessary to manually 
send a HUP signal for this to happen?

I am looking at experimenting with the OLSR Nameservice plugin which 
automatically distributes hostname-to-ip-address info across a mesh in hosts 
file format.  Entries are addedd dynamically to the hosts file it creates 
(by default /etc/hosts_olsr) whenever a new OLSR node joins the mesh.  It 
would be quite handy if DNSMasq could automatically re-read this file 
whenever it changes.

FYI the readme file for this plugin is here:
http://cvs.sourceforge.net/viewcvs.py/olsrd/olsrd-current/lib/nameservice/README?rev=1.8&view=auto

Cheers,

Dan





More information about the Dnsmasq-discuss mailing list