diff options
author | Adam <Adam@anope.org> | 2013-08-11 15:46:59 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-11 15:48:46 -0400 |
commit | 812cb04fde10414ba1b13c88bde78f86e6701a5d (patch) | |
tree | fc96432c599f118f42642126bd88eaabac41e1d0 /include/modules/dns.h | |
parent | 1314d5b4f159a5a4964bf192b9e062b823ccdf62 (diff) |
Add DNS Notify support
Diffstat (limited to 'include/modules/dns.h')
-rw-r--r-- | include/modules/dns.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modules/dns.h b/include/modules/dns.h index 44b9370cb..71697cc32 100644 --- a/include/modules/dns.h +++ b/include/modules/dns.h @@ -38,13 +38,14 @@ namespace DNS /* A lookup for any record */ QUERY_ANY = 255 }; - + /** Flags that can be AND'd into DNSPacket::flags to receive certain values */ enum { QUERYFLAGS_QR = 0x8000, QUERYFLAGS_OPCODE = 0x7800, + QUERYFLAGS_OPCODE_NOTIFY = 0x2000, QUERYFLAGS_AA = 0x400, QUERYFLAGS_TC = 0x200, QUERYFLAGS_RD = 0x100, @@ -126,6 +127,7 @@ namespace DNS virtual bool HandlePacket(ReplySocket *s, const unsigned char *const data, int len, sockaddrs *from) = 0; virtual void UpdateSerial() = 0; + virtual void Notify(const Anope::string &zone) = 0; virtual uint32_t GetSerial() const = 0; }; |