Anope IRC Services

Anope Development => Feature Requests => Topic started by: CuttingEdge on January 10, 2013, 02:48:39 PM

Title: Allow OperServ DNS module (os_dns) to push changes to external DNS slaves.
Post by: CuttingEdge on January 10, 2013, 02:48:39 PM
Hi all,

Firstly, thank you kindly for the OperServ DNS module, and extending it to include additional zones (its working great).

Secondly, I think it would be neat, if the DNS module could be configured to push changes (using AXFR) from any of the zones (when they're changed/updated), to the associated DNS slave(s).

The slaves should already be configured in the 'm_dns' module under 'nameservers'.  The alternative, is to add a 'ADDSLAVE' and 'DELSLAVE' sub-command within the OperServ 'DNS' command (this may be better).  Syntax as follows:

/operserv dns addslave ns1.network.net
/operserv dns delslave ns1.network.net

Currently I'm cheating, by asking my slaves, to retrieve the zone(s) from services via a cron job every minute, which isn't ideal.  I prefer my DNS zone(s) to be as accurate as possible.

Thanks in advance.
Title: Re: Allow OperServ DNS module (os_dns) to push changes to external DNS slaves.
Post by: Adam on January 14, 2013, 12:48:45 AM
Is there another protocol associated with that or is it just open a TCP connection and axfr?
Title: Re: Allow OperServ DNS module (os_dns) to push changes to external DNS slaves.
Post by: CuttingEdge on January 14, 2013, 05:53:12 AM
Looks like TCP.

See:
https://tools.ietf.org/html/rfc5936
http://en.wikipedia.org/wiki/DNS_zone_transfer
Title: Re: Allow OperServ DNS module (os_dns) to push changes to external DNS slaves.
Post by: Adam on January 14, 2013, 05:54:42 AM
I meant, a protocol on top of TCP to initiate the zone transfer.
Title: Re: Allow OperServ DNS module (os_dns) to push changes to external DNS slaves.
Post by: Adam on August 11, 2013, 08:50:54 PM
This has been added in 812cb04fde10414ba1b13c88bde78f86e6701a5d