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

Allow hostmasks to be in uplink:host

(cherry picked from commit 18377ac9fd)
This commit is contained in:
Adam
2010-12-21 15:57:57 -05:00
parent faf1e3710e
commit a2a6708f1a
4 changed files with 50 additions and 12 deletions
+6
View File
@@ -174,6 +174,12 @@ class DNSManager : public Timer
void Tick(time_t now);
void Cleanup(Module *mod);
/** Does a BLOCKING DNS query and returns the first IP.
* Only use this if you know what you are doing. Unless you specifically
* need a blocking query use the DNSRequest system
*/
static DNSRecord BlockingQuery(const Anope::string &mask, QueryType qt);
};
/** A DNS timeout, one is made for every DNS request to detect timeouts