[Dnsmasq-discuss] AAAA requests: long delay or SERVFAIL

Matthias Andree matthias.andree at gmx.de
Tue Dec 23 23:00:44 GMT 2014

Am 23.12.2014 um 22:00 schrieb Simon Kelley:
> Try
> local=/virt/
> the extended domain=.... syntax is broken in some recent dnsmasq releases.

And the inotify stuff apparently broke builds on non-Linux systems (in
2.73test2).  FreeBSD doesn't have that (nor sys/inotify.h), you need to
move the #include inside the #ifdef, and if you want an equivalent,
check out BSD's kqueue instead (different model and API).

> cc -O2 -pipe -march=athlon64 -Wall -Wno-unused-value -DHAVE_DNSSEC -fstack-protector -fno-strict-aliasing -O2 -pipe -march=athlon64 -Wall -Wno-unused-value -DHAVE_DNSSEC -fstack-protector -fno-strict-aliasing -DLOCALEDIR='"/usr/local/share/locale"' -DVERSION='"2.73test2"'      -I/usr/local/include   -I/usr/local/include   -I/usr/local/include -c inotify.c	
> inotify.c:18:25: error: sys/inotify.h: No such file or directory
> /wrkdirs/usr/ports/dns/dnsmasq-devel/work/dnsmasq-2.73test2/Makefile:150: recipe for target 'inotify.o' failed
> gmake[1]: *** [inotify.o] Error 1

The fix is simple enough, patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-src_inotify.c
Type: text/x-csrc
Size: 333 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20141224/b7353e1b/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20141224/b7353e1b/attachment.sig>

More information about the Dnsmasq-discuss mailing list