Wildcard Domain Name

Source: Internet
Author: User
Tags net domain
Wildcard domain name resolution

Generally, domain names are used to access websites. To facilitate the work of employees, a number of work group websites are set up in the enterprise network and accessed using second-level domain names. These websites are generally located on servers of the same IP segment. In the DNS server, it is very troublesome to manually create address records for these second-level domain names. If the "wildcard domain name resolution" technology is used in the DNS server, the problem can be solved.

The concept of wildcard domain name resolution is quite understandable. For example, if you have a domain "cce.net", you want all the ".cce.net" second-level domain names (which represents any character) under it to be resolved to the same IP address. At this time, you only need to use the wildcard domain name resolution Technology in the cce.net domain, even if you do not manually create any second-level domain name address records under the domain, it will be automatically resolved to a specific IP address.

The following uses Windows 2003 DNS server as an example to describe how to implement wildcard domain name resolution for the "cce.net" domain. Suppose we want all the second-level domain names to be resolved to the Web server with the IP address "192.168.1.6.

In fact, the DNS server of Windows 2003 implements wildcard domain name resolution, which allows the "*" character as the host name, you only need to create a host record named "*" in the "cce.net" area. The process is very simple. In the DNS Console window, right-click the "cce.net" area, select "New Host" (1) from the menu, and enter "*" in the "name" column. enter "192.168.1.6" in the "ip address" column, and click "add host.


Figure 1 adding a host

After completing the preceding settings, use the ping command on the client to test whether the resolution of any second-level domain name is successful. Enter the "Ping cceuserf. cce.net" command in the command prompt to obtain the response information, indicating that the "cce.net" Domain implements wildcard 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.