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.