tfDnsDomainSearchClear
Table of Contents >> Application Reference >> DNS Resolver
| #include <trsocket.h> |
| int tfDnsDomainSearchClear | (void); |
Function Description
Remove all domains that were previously added via tfDnsDomainSearchAdd(). This function has the effect of resetting the list of user-supplied domains. Domain information provided via DHCP is not affected.The Treck domain search feature must be enabled by uncommenting the following compile time macro in your trsystem.h.
#define TM_USE_DNS_DOMAIN_SEARCH
Returns
- TM_ENOERROR
- Success.
- TM_EPERM
- tfDnsInit() has not yet been called.