The dns element configures how the server uses the domain name system (DNS). This element may appear zero or one time within the server element. For more information, see server.
The dns element can contain the following subelements:
Table 3–16 List of dns Subelements
Element |
Occurrences |
Description |
---|---|---|
enabled |
0 or 1 |
Determines whether the server does DNS lookups. The default value is false. |
async |
0 or 1 |
Determines whether the server uses its own asynchronous DNS resolver instead of the operating system's synchronous resolver. The default value is true. |
timeout |
0 or 1 |
The timeout (in seconds) for asynchronous DNS lookups. The value can be from 0.001 to 3600. |