[Dnsmasq-discuss] DNS vs dhcp-script

Simon Kelley simon at thekelleys.org.uk
Tue Sep 14 20:14:57 BST 2010


Ferenc Wagner wrote:
> Hi,
> 
> Is the a way to ensure that the dhcp-script can resolve the newly issued
> lease?  (Of course it isn't a problem for the script itself, but for a
> stubborn program started from it, which does two-way DNS resolution just
> to make sure.)  It seems to be racy, sometimes it works, sometimes it
> does not...  I think the script invocation should be moved after
> registering the new lease in the DNS database.  Or maybe the problem is
> something else entirely.

Quickly checking the code, the DNS system gets updated long before the
script could possibly be run. "Something else entirely" looks a distinct
possibility.


Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list