Setting method for DNS server to support pan domain name resolution [Fixed version]_dns server

Source: Internet
Author: User
Tags net command net domain
However, the workload of maintaining these level two domain names is very high, but we can solve this problem by using a generic domain name resolution technique, so that support for the generic domain name can be achieved by slightly setting up a DNS server with its own Windows system.
  
The following are examples of Windows Server 2003 and Windows 2000 DNS servers that describe how to transform them to enable universal domain name resolution. We assume that there is a domain jb51.net on the DNS server to enable the DNS server to support pan domain name resolution for this domain.
  
Windows 2000 enables universal domain name resolution
  
Method One
  
Open the DNS console, right-click in the Jb51.net area, select New Domain in the pop-up menu, and then enter "*"  in the New DNS Domain dialog box to create a level two area called "*", and then click OK.
  
This zone is allowed to be established by the DNS server, and a record of an empty hostname is also required in the "*.jb51.net" area. Right-click the *. Jb51.net "area, select New Host in the pop-up menu, in the New Host dialog box, do not enter any content in the Name column, enter the IP address that the pan domain name resolution points to in the IP address field, for example, enter" 192.168.0.1 ", and then click the" Add Host "button to , so that you can implement a generic domain name resolution for the jb51.net domain.
  
Method Two
  
We can also implement a generic domain name resolution by manually modifying the DNS data files. Directly modify the DNS data files in the DNS folder in the system directory, go to the "C\winnt\system32\dns" directory, locate the Jb51.net.dns file, use Notepad to open, manually add a "*a 192.168.0.1" record, where "a" Indicates that the record is an address record, and "192.168.0.1" refers to the IP address that the generic domain name points to, saves the file after completion, restarts the DNS server, and loads the DNS data file.
  
Windows Server 2003 enables universal domain name resolution
  
The DNS server for a Windows Server 2003 system implements a generic domain name resolution that allows you to use the "*" character as the host name, as long as you create a host record named "*" in the "jb51.net" area, the process is simple. Right-click the Jb51.net area, select New Host in the pop-up menu  enter "*" in the Name field of the new Host dialog box, enter "192.168.0.1" in the IP Address field, and then click the Add Host button.
  
After you complete the above settings, you can use the ping command on the client to test the success of any level two domain name resolution. For example, entering the Ping fymjxcs.jb51.net command at a command prompt and getting the response information shown in the illustration indicates a successful pan-domain name resolution.

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.