On 12/08/15 18:54, Brett Carr wrote:
Hi Brett,
I can't comment on dnsruby, as I've never really used ruby. However,
dnspython is quite nice and easy to use. Doing notify from it is
trivial, for example:
import dns.message
import dns.rdatatype
import dns.opcode
import dns.flags
import dns.query
notify = dns.message.make_query('zonename', dns.rdatatype.SOA)
notify.set_opcode(dns.opcode.NOTIFY)
notify.flags -= dns.flags.RD
response = dns.query.udp(notify, '1.2.3.4', timeout=5)
You can then examine "response" to see the client's response to the
notify message.
Regards,
Anand