1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 20:03:12 +02:00

BIND's forward ability did not work as I expected

because it will not forward non recursive queries.
So, added support for SOA, NS, and AXFR requests.
This commit is contained in:
Adam
2012-10-24 19:32:26 -04:00
parent fca9ec085e
commit 1057fa8421
13 changed files with 431 additions and 120 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ class MyHTTPProvider : public HTTPProvider, public CallBack
std::list<dynamic_reference<MyHTTPClient> > clients;
public:
MyHTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p, const int t) : HTTPProvider(c, n, i, p), CallBack(c, 10, Anope::CurTime, true), timeout(t) { }
MyHTTPProvider(Module *c, const Anope::string &n, const Anope::string &i, const unsigned short p, const int t) : Socket(-1, i.find(':') != Anope::string::npos), HTTPProvider(c, n, i, p), CallBack(c, 10, Anope::CurTime, true), timeout(t) { }
void Tick(time_t) anope_override
{