Let the DNS server supports the pan-domain name to resolve many enterprises to set up multiple web sites to meet employee's work needs. In order to save costs, these websites usually use virtual host technology, that is, set up multiple websites on the same server, employees use secondary Domain Name Access these sites. However, maintaining these secondary domain names is very large, but we can use pan-domain parsing techniques to solve this problem, as long as the DNS server comes with the Windows system can be supported for the general domain name. The following is the Windows Server 2003, Windows 2000 DNS server as an example, describes how to transform them to achieve extension. We assume that there is a domain RTJ.NET on the DNS server, so that the DNS server supports the extension name parsing of this domain.
Windows 2000 implements pan-domain analysis
method one
Open the DNS console, click the right mouse button on the "RTJ.NET" area, select "New Domain" in the pop-up menu, then enter "*" in the New DNS Domain dialog box "* * "The secondary area, finally click the" OK "button.
This area is the DNS server to be created, and then you need to create a record of empty hostname in the "* .rtj.net" area. Right-click on the *. RsNet "area, select" New Host "in the pop-up menu, do not enter anything in the" New Host "dialog," Name "column," IP Address "column Domain name parsing points the IP address, such as input "192.168.0.1", and finally click the "Add Host" button so that the general domain name parsing of the RTJ.NET domain can be implemented.
Method Two
We can also implement the general domain name analysis by manually modifying the DNS data file. Directly modify the DNS data file in the system directory, enter the "C / WinNT / System32 / DNS" directory, find the RTJ.NET.DNS file, use Notepad to open, manually add a "* a 192.168.0.1" Record, "A" indicates that the record is address record, "192.168.0.1" refers to the IP address pointed to by the general domain name. After the completion is saved, restart the DNS server, load this DNS data file.
Windows Server 2003 implements pan-domain name analysis
The DNS server of the Windows Server 2003 system implements the general domain name parsing is simple, it allows "*" characters to be used as host name, as long as you create a host record name "*" in the "RTJ.NET" area, the process is very simple . Right-click the "RTJ.Net" area, select "New Host" in the pop-up menu to enter "*", "*", "IP address" field "192.168.0.1" in the "New Host" bar "192.168.0.1" 192.168.0.1 ", Finally click" Add Host "button.
After completing the above settings, you can use the ping command to test whether any secondary domain name resolution is successful at the client. For example, enter the "ping fymjxcs.rtj.rtj.rtj.Rtj.rtj.rtj.rtj.rtj.Rtj.rtj.rtj.rtj.rtj.RTJ.NET command at the command prompt, which means that the general domain name is successful.