.
To get to the DNS Configuration panel, go to the
Control Panel, click on Network, and select the
Protocols tab. Double-click on TCP/IP
Protocol, then select the tab for DNS.
Windows NT also allows the user to configure resolver settings
specific to particular dialup networking connections. To configure
these, click on the My Computer icon, select
Dial-Up Networking, pull down the top selection
box, and choose the name of the DUN connection whose resolver
you'd like to configure. Then click on the
More pull-down and select Edit
Entry and Modem Properties. Select
the Server tab on the resulting window, and
click on the TCP/IP Settings button.
You'll see the very same window you'd see in Windows 95
(shown earlier). If you leave the Server assigned name
server addresses radio button checked, the resolver
retrieves the name servers it should query from the server you dial
into. If you check Specify name server addresses
and specify the addresses of one or two name servers, Windows NT uses
those name servers when the DUN connection is active. When you drop
the DUN connection, NT reverts to using the LAN resolver's
settings.
The Windows NT 4.0 resolver caches name-to-address mappings on a
per-process basis, according to the time to live on the returned
address records. Good for Microsoft!
Microsoft updated the resolver fairly extensively in Windows NT 4.0,
Service Pack 4. The SP4 resolver supports a sortlist, like a BIND
4.9.x resolver does, though the sortlist isn't configurable.
Instead, the sortlist is based on the computer's routing table:
addresses on networks that the computer has direct routes to are
sorted to the beginning of responses. If you don't like this
behavior -- for example, because it interferes with round
robin -- you can disable it using a new registry value. See
Microsoft Knowledge Base article Q196500 for details.
The SP4 resolver also gives you the ability to turn off caching in
the resolver using (guess what?) a registry value. For details, see
Knowledge Base article Q187709.
The SP4 resolver sports a new retransmission algorithm, too. The
resolver still sends its first query to the first name server in the
DNS Server Search Order. However, the resolver
waits only one second before retransmitting the query, and it
retransmits to all of the name servers it knows
about -- name servers it has learned about via static
configuration, DHCP, and RAS. If none of these name servers responds
in two seconds, the resolver retransmits to all the name servers
again. It keeps doubling the timeout and retransmitting for a total
of four retransmissions and 15 seconds. See Knowledge Base article
Q198550 for details.