NetBurner 3.5.0
PDF Version |
|
NetBurner Domain Name Server Header File. More...
Go to the source code of this file.
Functions | |
bool | IsNameIPAddress (const char *name) |
Determine if the name is a valid IP Address and does not need to be looked up. | |
int | fd_dns_part1 (const char *name, const IPADDR &dns_server, uint16_t TYPE=DNS_A, uint16_t TYPE2=0, int ifn=-1) |
Open a UDP socket and initiate a DNS lookup. | |
bool | fd_dns_processresult (int fd, const char *name, IPADDR &addr_out, uint16_t TYPE=DNS_A, uint16_t TYPE2=DNS_AAAA, uint32_t *ttl=0) |
Process any responses on the UDP socket opened for DNS. | |
int | fd_outstanding_Responses (int fd) |
Check to see if there are any outstanding DNS requests. | |
bool | AnyDNSInterFaceActive () |
Determine if we have an active DNS route; DNS server is set for an active interface. | |
int | GetHostByName (const char *name, IPADDR *pIpaddr, const IPADDR &dns_server, const TickTimeout tout, uint16_t TYPE1=DNS_A, uint16_t TYPE2=extra_dns_t, uint32_t *ttl=NULL) |
Get the IP address associated with the specified domain name. | |
int | GetHostByNameViaIfNum (const char *name, IPADDR *pIpaddr, const IPADDR &dns_server, int ifn, const TickTimeout &tout, uint16_t TYPE1=DNS_A, uint16_t TYPE2=extra_dns_t, uint32_t *ttl=NULL) |
Get the IP address associated with the specified domain name on a specific interface. | |
NetBurner Domain Name Server Header File.