Settings for pan-domain name resolution on Windows systems

  
Many companies have set up multiple Web sites to meet the needs of employees. In order to save costs, these sites usually use virtual host technology, that is, set up multiple websites on the same server, employees use Second-level domain names access these sites. However, the workload of maintaining these second-level domain names is very large, but we can use the pan-domain name resolution technology to solve this problem. Just add a DNS server that comes with the Windows system to support the pan-domain name. The following were

to Windows Server 2003, Windows 2000 DNS server for example, describes how to transform them to achieve pan-domain name resolution. We assume that there is a domain rtj.net on the DNS server to enable the DNS server to support generic domain name resolution for this domain.

Windows 2000 implements pan-domain name resolution

Method 1

Open the DNS console, right-click on the "rtj.net" area and select from the pop-up menu. "New Domain", then enter "*" in the "New DNS Domain" dialog box to create a secondary area named "*", and finally click the "OK" button. //This article from the application of computer hardware and software network www.45it.com reproduced please specify

This area is set up to allow DNS server, and then also need to create an empty hosts "* .rtj.net" area The name of the record. Right-click the "*. rtj.net" area and select "New Host" from the pop-up menu. In the "New Host" dialog box, do not enter anything in the "Name" column. Enter the Pan in the "IP Address" field. The IP address pointed to by the domain name resolution, for example, enter "192.168.0.1", and finally click the "Add Host" button, so that the general domain name resolution of the rtj.net domain can be realized.

Method Two

we have to achieve pan-domain name resolution can modify DNS data files by hand. Directly modify the DNS data file in the DNS folder under the system directory, enter the "C\\Winnt\\System32\\dns" directory, find the rtj.net.dns file, open it with Notepad, and manually add a "*A 192.168.0.1" Record, where "A" indicates that the record is an address record, "192.168.0.1" refers to the IP address pointed to by the generic domain name, save the file after completion, restart the DNS server, and load the DNS data file.
Windows Server 2003 implements pan-domain name resolution

Windows Server 2003 system DNS server implementation of pan-domain name resolution is very simple, it allows the use of "*" characters as host names, as long as in the "rtj.net" area Create a host record with the name "*" and the process is very simple. Right-click the rtj.net area and select New Host from the pop-up menu. Enter "*" in the "Name" field of the "New Host" dialog box, and enter "192.168.0.1" in the "IP Address" field. Finally, click the "Add Host" button.

After completing the above settings, you can use the ping command on the client to test whether any second-level domain name resolution is successful. For example, if you enter the "Ping fymjxcs.rtj.net" command at the command prompt to get the response information as shown in the figure, it means that the pan-domain name resolution is successful.
Copyright © Windows knowledge All Rights Reserved