-.TH "DNS" 3 "9 Apr 2005" "InspIRCd" \" -*- nroff -*-
+.TH "DNS" 3 "13 May 2005" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
.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"
.in +1c
.ti -1c
-.RI "char * \fBresult\fP"
-.br
-.ti -1c
.RI "in_addr * \fBbinip\fP"
.br
.ti -1c
-.RI "int \fBt\fP"
+.RI "char * \fBresult\fP"
.br
.ti -1c
-.RI "int \fBi\fP"
+.RI "int \fBt\fP"
.br
.ti -1c
.RI "unsigned int \fBfd\fP"
.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"
.PP
-Definition at line 39 of file dns.h.
+Definition at line 38 of file dns.h.
.SS "unsigned int \fBDNS::fd\fP\fC [private]\fP"
.PP
Definition at line 42 of file dns.h.
-.SS "int \fBDNS::i\fP\fC [private]\fP"
-.PP
-Definition at line 40 of file dns.h.
.SS "char* \fBDNS::result\fP\fC [private]\fP"
.PP
-Definition at line 38 of file dns.h.
+Definition at line 39 of file dns.h.
.SS "int \fBDNS::t\fP\fC [private]\fP"
.PP
Definition at line 40 of file dns.h.