[Dnsmasq-discuss] serial number not changed on kill -HUP
Simon Kelley
simon at thekelleys.org.uk
Fri Aug 5 16:58:14 BST 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Definitely a bug, not something you're doing wrong. We bump the serial
when the zone changes because if new/changed DHCP leases, but forgot
to do it on reload of hosts files.
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=c8328ecde8
96575b3cb81cf537747df531f90771
is the fix. The patch should apply cleanly to 2.76 sources, if you
want to take that route.
Cheers,
Simon.
On 05/08/16 11:15, Harald Dunkel wrote:
> Hi folks,
>
> if I edit /etc/hosts to add a new host and send dnsmasq a SIGHUP,
> then the logfile says
>
> Aug 5 12:08:36 dnsmasq[93750]: read /etc/hosts - 189 addresses
>
> Local DNS works as expected: The new host name is resolved.
>
> Problem is, that the serial number in the SOA doesn't change, as
> "dig @localhost example.com SOA" shows. This seems to break zone
> transfers.
>
> If I restart dnsmasq, then there is a new serial number and
> everything is fine.
>
> dnsmasq is version 2.76, platform is Debian 8.
>
>
> Can anybody reproduce this? Every helpful hint is highly
> appreciated.
>
>
> Regards Harri
>
> _______________________________________________ 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)
iQIbBAEBCAAGBQJXpLeWAAoJEBXN2mrhkTWiUvgP9RszMa9s2IgHgz7xHfZahes8
O1V5s6ZwYwa3sj/C8mkHe8B3F+5NkAiBXEcFNJY9wVWZpggQU36ol/m7uaMWF5NL
rXSSHOccyWkIzSJyeVOMKyWp1Qd1Vq8UOtrcCfAVboDwQ+Ut5awcgexK6x+NKxIr
gzfpnUL5IZTAt9vsgOyJgRGiiyCxLQ0GPrbVQ+R2pxONMzBLz67fxC5mAli2sPnJ
vMA2Rai9cin70RkZdLJ8vKQ7VkEN3HqCPqy7S/XA5wuLTYt119x/sXXDvlYaBMDU
YA/FDV+BamBONvu1LVsoLxLIXBMTMD/0JQ/JRScXV+9dvDybaOhx7Tuaaz3/nvIO
TbC9gDnRsMn1RsnNKUWxOQP7KWuKEnGvsWO7qImYttk5AyBOYvAyICb5zztReBuf
5S/svt/2x/FXYsPujGcS546CJn1W4PSnSeGZUdSvMPm5Cpp3jv9bMut8d5tAADUC
oJ/O8KeE7RYeahZp1l3AXrqrNCFBGBg2zD4+RgNg9Djz2mSMzpiyQggNOOvo1Y8H
wxyLTHKtGRaoBsPnEdW0Uohgl4JCAsUEaN15ryARvsj+aoMBBTScb+tSn0Dw+G0o
pbxoTy/CNIsFBC3lEss8LsaITDCe07wX1By4avNNoBmNU4ew7PsNj7PymsrLesgK
98QJqqvi9vBUaOPVRlo=
=xJqE
-----END PGP SIGNATURE-----
More information about the Dnsmasq-discuss
mailing list