On 3/4/2011 3:56 πμ, Andy Smith wrote:
Hello,
As you may be aware, BitFolk offers free authoritative DNS services
to VPS customers. This is provided by means of the BitFolk DNS
servers taking a zone transfer (AXFR) from the customer's name
server.
As part of this service we monitor the customer's name server as a
matter of course. That's because it saves everyone's time to know
where any problems lie.
What we currently monitor:
- Customer's server responds on TCP/53
- Query of server for SOA record of the customer's domain produces
a positive, authoritative response
That's pretty good but it misses one class of misconfiguration:
where a customer's name server is misconfigured to refuse zone
transfer from BitFolk's servers.
That's pretty obvious the first time the zone slaving is set up, but
if it happens afterwards then it relies on customers spotting
anomalies in their log files.
If it isn't fixed, then once the "expire" setting of the SOA record is
reached (generally 1-2 weeks for most domains) our name servers
will no longer respond to queries for the customer's domain.
Timeout period is
indeed usually 1-2w.
Alternatively, if BitFolk's Nagios tried an AXFR
say once a day for
each of your zones would you consider that excessive?
Do it once per timeout
period. So if zone times out every 7 days, do an
AXFR from nagios once every 7 days. Customers with much lower timeouts
would probably need to be treated specially, maybe via a script.
When doing the SOA you can find out the timeout so even if it changes
you can update your scripts.
Cheers,
Andy