How to maintain the DNS system

Source: Internet
Author: User
Tags resource nslookup

Maintenance is important when you are setting up to use the Windows Server service. Let's talk about how to maintain and troubleshoot DNS failures. First, the use of dnscmd to facilitate the maintenance of 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 that automates the day-to-day management process in DNS. It is particularly suitable for setting up standard DNS primary zones that use text files.

2. Update resource records.

3. Establish and configure a new DNS server.

The installation of dnscmd is simple:

1. Copy the dnscmd file from the Supportenterprise Eskit folder on the win Server CD-ROM to the folder you selected in the DNS server. such as the C:\winntsystem32dns folder. Note that this program does not exist in the Win Professional CD.

2. Type dnscmd on the Run menu or at the command line prompt or with different parameters for maintenance work.

Second, with good ping command

I believe 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 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 a DNS domain name, use the above command to determine the client's connectivity to the DNS server. You can then ping other clients on the network. If you do not ping, there is a problem with the client, and if the latter can ping, the DNS configuration error or DNS server error is indicated.

Third, the use of Ipconfig to set up DNS

You can view the configuration of your DNS server by executing the ipconfig command directly at the command prompt. The command can also manually update a client's DNS registration, troubleshoot a DNS name registration failure, or dynamically update a failure on a DNS server. Using the command ipconfig registerdns can update or exclude a DNS registration failure for one customer because the command refreshes the DHCP lease and registers the computer's host name.

Iv. Use of Nslookup diagnostics

Nslookup is a utility that troubleshoots DNS, which allows you to work with DNS and allow users to check resource records, and it runs on the command line as follows:

nslookup-option hostname Server

-option specifies one or more life-line options. For example, to list a list of commands.

Hostname: The user-specified server is used by default using the user-specified hostname.

Server: The DNS server specified in the TCP/IP network configuration is specified by default, using a user-specified DNS server.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.