[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dnsmasq and SOA



	Hi.

On Wed, Feb 28, 2018 at 01:25:00AM +0100, RODARY Jacques wrote:
> 	I finally surrendered, and now use dnsmasq instead of bind.

Welcome to the dark side, we have cookies.


> But in my setup with named,  my box was Start Of Authority, and when
> there was a change and reload of the zone files, the only other name
> server was notified, before the TTL is over. How can I do that with
> dnsmasq?
> If the dnsmasqHowto wiki is quite clear, but not very detailed, the
> manpage is too detailed, and not clear to me. Thanks for your help.

Dnsmasq is a caching DNS first, and an authoritative much later.
So, it's possible for dnsmasq to have a SOA record, but changing it
would probably require editing dnsmasq.conf and restarting dnsmasq.

The part of dnsmasq.conf you need is "auth-soa":

auth-soa=2016021014,hostmaster.example.com,1200,120,604800

The meaning of these fields is described in dnsmasq(8), and from left to
right it is: serial, hostmaster, refresh, retry, expiry.

Reco


Reply to: