aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/dns.h
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-05 09:40:22 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-05 09:40:22 +0000
commite8a7928eaa1771b7228b9665094e9e10e7af532b (patch)
tree883016a988ced8d14c9de8c000e0f4a265f82d16 /include/asterisk/dns.h
parent947ca2adbed5d4a530e3683e7cb839e3862dd3eb (diff)
Doxygen updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7814 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/dns.h')
-rw-r--r--include/asterisk/dns.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/dns.h b/include/asterisk/dns.h
index 18ebaf585..615351b8a 100644
--- a/include/asterisk/dns.h
+++ b/include/asterisk/dns.h
@@ -26,12 +26,14 @@
struct ast_channel;
-/*! \brief Perform DNS lookup (used by enum and SRV lookups)
+/*! \brief Perform DNS lookup (used by DNS, enum and SRV lookups)
\param context
\param dname Domain name to lookup (host, SRV domain, TXT record name)
\param class Record Class (see "man res_search")
\param type Record type (see "man res_search")
\param callback Callback function for handling DNS result
+ \note Asterisk DNS is synchronus at this time. This means that if your DNS
+ services does not work, Asterisk may lock while waiting for response.
*/
extern int ast_search_dns(void *context, const char *dname, int class, int type,
int (*callback)(void *context, char *answer, int len, char *fullanswer));