Weapons: How DNS Server Technology Troubles with Network Faults

  

Servers are not only the backbone of enterprise network equipment, but also the mainstay of enterprise software and database applications. In actual operation, the server often has one or the other faults, software or hardware. Many faults are not regular. In fact, many network failures are caused by DNS servers. At this time, we need to perform a DNS server technical check.

Fault phenomenon

The size of the company is not very large, there are about 50 computers, and two IBM servers have been purchased. The model number is X SERVICE 200. Since an application software used internally requires Windows domain support, the Windows 2000 server domain is enabled on both IBM servers. One is the domain controller DC and the other is the backup domain controller BDC.

Since the backup domain controller plays a primary role in the management domain, basically no modifications and operations are performed after the configuration is completed. However, in the previous paragraph, there was a failure that the server of the primary domain controller DC could not log in to the system desktop. Each time the domain controller was started, it stayed in the login interface of 2000, that is, the interface before the administrator account and password operation were required. The login information below shows "Connecting to the network", waiting for nearly an hour and still no progress, always staying at the "Connecting to the network" prompt. Restart the server and press F8 to enter safe mode normally. However, as soon as you enter normal mode, the above mentioned problems occur.

Since the system login always stays at the "Connecting Network", I suspect that there is a problem with the network, for example, the primary domain controller cannot resolve itself through DNS. Try to enter safe mode to disable the network card, so the system will not search the network, try to connect to the network. Sure enough, the system can enter the desktop normally after disabling the network card.

However, disabling the NIC does not cure the problem, although the server can log in to the desktop but the services provided are not available to other clients. Why can I log in without a network card? The author once again concentrated the idea of ​​resolving the fault on domain name resolution. It is well known that in a domain-enabled network, the DNS-resolved domain name has a one-to-one correspondence with the computer. Any computer that does not retain the correct DNS corresponding name on the primary domain controller will not be able to use the network.

The author checks the configuration of the DNS service on the primary domain controller and finds that the DNS address of the primary domain controller is set to the IP address of the backup domain controller. It seems that there is a problem with DNS resolution on the backup domain controller. The author immediately went to the backup domain controller to check that the connection between the network cable and the network card interface on the backup domain controller was loose, that is, the backup domain controller was actually disconnected from the entire network. After the network cable on the backup domain controller is plugged in and the network card on the primary domain controller is started, the system can enter the system normally, and the fault is eliminated.

This fault seems to be caused by the loose network cable on the backup domain controller. In fact, it is the result of the configuration problem when we set up the domain. How to solve this problem? When building a domain, it is best to configure DNS according to the following rules.

- DNS services are installed on both DC and BDC, instead of being enabled on only one server, preventing DNS resolution errors and providing redundancy for DNS resolution.

- The DC local DNS server is set to its own IP address, and the BDC native DNS server is also set to its own IP address.

- At the same time, the secondary DNS server address on the DC is also set to the address of the BDC, and the secondary DNS server address on the corresponding BDC is also set to the DC IP address.

So we will not have a problem when doing DNS resolution, and this kind of failure will not happen. Because DNS authentication is performed when logging in to the primary domain controller and connecting to the network, the DNS settings of the local machine are automatically queried. Even if the BDC network cable is loose or shut down, the DC login will not be affected.

Summary

Configuring a domain controller in a Windows system is a very cumbersome task, and the occurrence of a fault is even more irregular, so this initialization operation is also necessary when upgrading the network to a domain. Follow the rules outlined above to minimize the chance of failure.

Copyright © Windows knowledge All Rights Reserved