summaryrefslogtreecommitdiff
path: root/docs/man/man3/DNS.3
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/man3/DNS.3')
-rw-r--r--docs/man/man3/DNS.37
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/man/man3/DNS.3 b/docs/man/man3/DNS.3
index 4e842b60d..7bfa95a50 100644
--- a/docs/man/man3/DNS.3
+++ b/docs/man/man3/DNS.3
@@ -1,4 +1,4 @@
-.TH "DNS" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "DNS" 3 "13 Apr 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -45,6 +45,9 @@ DNS \- The DNS class allows fast nonblocking resolution of hostnames and ip addr
.RI "int \fBGetFD\fP ()"
.br
.RI "\fIThis method returns the file handle used by the dns query socket or zero if the query is invalid for some reason, e.g. \fP"
+.ti -1c
+.RI "void \fBSetNS\fP (std::string dnsserver)"
+.br
.in -1c
.SS "Private Member Functions"
@@ -174,6 +177,8 @@ This method will return true when the lookup is completed. It uses poll internal
.SS "bool DNS::ReverseLookup (std::string ip)"
.PP
This method will start the reverse lookup of an ip given in dotted decimal format, e.g. 1.2.3.4, and returns true if the lookup was successfully initiated.
+.SS "void DNS::SetNS (std::string dnsserver)"
+.PP
.SH "Member Data Documentation"
.PP
.SS "in_addr* \fBDNS::binip\fP\fC [private]\fP"