| Constant |
Description |
| DNS_OPTION_NONE |
No additional resolver options specified. This is the default
value, and it is recommended that most applications do not specify
additional options unless the implications of doing so are
understood. |
| DNS_OPTION_PROMOTE |
Promotes the server that successfully completed the last query
to the first server that will be used to resolve subsequent
queries. This option can improve performance in some cases where
one or more of the registered servers are non-responsive. This
option takes precedence over the DNS_OPTION_ROTATE option. |
| DNS_OPTION_ROTATE |
Enables a round-robin selection of nameservers when performing
queries. Normally each nameserver is queried in the same order.
This option rotates the available nameservers so a different server
is used with each query. |
| DNS_OPTION_AUTHONLY |
Require the answer from the nameserver to be authoritative, not
from the server's cache. This option is included for future
expansion as most servers do not support this feature and will
ignore it. |
| DNS_OPTION_PRIMARY |
Queries are only accepted from the primary nameserver. This
option is included for future expansion as most servers do not
support this feature and will ignore it. |
| DNS_OPTION_NORECURSE |
Disable the sending of recursive queries to the nameserver.
Specifying this option will disable the bit in the DNS request
header that specifies recursion is desired. |
| DNS_OPTION_NOSEARCH |
Disable additional queries of higher domains in the search list
if the host name cannot be resolved. If this option is specified,
and the host name cannot be resolved using the local domain name an
error is returned immediately. This option is ignored if no local
domain has been specified or if the DNS_OPTION_NOSUFFIX option has
been specified. |
| DNS_OPTION_NOSUFFIX |
Disable additional queries using the local domain name if the
host name is not a fully qualified domain name and cannot be
resolved. This option is ignored if no local domain has been
specified. |
| DNS_OPTION_NONAMECHECK |
Disable checking the host name for invalid characters, such as
the underscore and control characters. By default, host names are
checked to ensure they're valid before submitting a query to the
nameserver. |