diff options
| author | DukePyrolator <DukePyrolator@anope.org> | 2010-12-22 07:05:40 +0100 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@anope.org> | 2010-12-22 07:05:40 +0100 |
| commit | 184e7b3f64beb104e2d676048fc5bf485c5ad743 (patch) | |
| tree | 13aefec932d42365c50649b008c00612ec2e8d86 /include | |
| parent | 184e14ea83412489921367614d63a7c24df3827d (diff) | |
| parent | 18377ac9fd36065bfd791b5cea51de9ae1d2b11d (diff) | |
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
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 |
