diff options
| author | Adam <Adam@anope.org> | 2010-12-21 15:57:57 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-12-24 20:06:25 -0500 |
| commit | a2a6708f1a2b36bb5a769005efd6869ca5a4036a (patch) | |
| tree | 714204a7a74fd3679cec1ce7f2a1c185a8c8930f /include | |
| parent | faf1e3710ef2d86c6b4a562814d6cfaa064723a9 (diff) | |
Allow hostmasks to be in uplink:host
(cherry picked from commit 18377ac9fd36065bfd791b5cea51de9ae1d2b11d)
Diffstat (limited to 'include')
| -rw-r--r-- | include/dns.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/dns.h b/include/dns.h index 653229b6f..c95cc64de 100644 --- a/include/dns.h +++ b/include/dns.h @@ -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 |
