Maintaining DNS System Maintenance

  

Settings When using Windows 2000 Server services, maintenance is very important. Let's talk to you about how to maintain and troubleshoot DNS problems. First, use Dnscmd to maintain the DNS system

Similar to UNIX or script commands, the Windows 2000 Resource Kit provides a command-line program called Dnscmd, which is used to manage DNS servers.

This tool can be used for different tasks:

1. Create a script or batch file to automate the daily management process in DNS. It is especially suitable for setting up standard DNS primary areas that use text files.

2. Update resource records.

3. Build and configure a new DNS server.

The installation of Dnscmd is very simple:

1. Copy the Dnscmd file from the supportenterprise eskit folder on the Win 2000 Server CD-ROM to the folder of your choice in the DNS server. Such as c:\\winntsystem32dns folder. Note that this program does not exist on the Win 2000 Professional CD.

2. Type DNSCMD at the Run/rdquo; menu or command line prompt or add different parameters for maintenance.

Second, use the Ping command

I believe that everyone is familiar with the Ping command. It uses the ICMP protocol to check the existence of a specific IP address on the network. A DNS domain name also corresponds to an IP address. So the following command can check the connectivity of a DNS domain name:

Ping www.xxx.com

If a client cannot resolve the DNS domain name, use the above command to determine the client and DNS. Server connectivity. Then you can ping other clients in the network. If the ping fails, the client has a problem. If the latter can ping, the DNS configuration error or DNS server error.

Three, use Ipconfig to set up DNS

directly execute the Ipconfig command at the command prompt to view the configuration of the DNS server. The command can also manually update a customer's DNS registration, troubleshoot failures in DNS name registration, or dynamically update the DNS server. Use the command Ipconfig registerdns to update or exclude a client's DNS registration failure because the command will refresh the DHCP lease and register the computer's hostname.

4.Using Nslookup for Diagnostics

Nslookup is a utility for diagnosing DNS. It allows you to work in a dialog with DNS and let users check resource records. It also runs on the command line. The syntax is as follows: :

Nslookup -option hostname server

-option Specifies one or more lifeline options. For example, to list the commands.

Hostname: Use the hostname specified by the user. By default, the user-specified server is used.

Server: Use the user-specified DNS server. By default, the DNS server specified in the TCP/IP network configuration is specified.

Copyright © Windows knowledge All Rights Reserved