Configure and manage DNS server

Training purpose

Insert picture description here

Project environment and requirements

Insert picture description here
Insert picture description here
win2012-1 (has installed long.com domain) (and is the domain controller of
long.com ) win2012-4 (deploy DNS service on this server)
win7 (DNS client, DNS test)

-Deploy DNS service

Enter 2012-4 to
add a DNS server.
Insert picture description here
Open the DNS
Insert picture description here
Insert picture description here
configuration forwarder:
(Deploy a DNS server in our network, and hope that all client computers in the network use the current DNS for DNS resolution: In addition to using internal resolution, I hope to provide Internet analysis)
Insert picture description here
click edit,
Insert picture description here
Insert picture description here
add manually,
Insert picture description here
confirm and apply

Test on win7
Analyze in the cmd command line, test Baidu
Insert picture description here
Test NetEase The
Insert picture description here
above display indicates that the configuration is successful (Internet analysis can be provided)

Forward viewing area

Insert picture description here
Create a new zone,
Insert picture description here
Insert picture description here
set a domain name, and
Insert picture description here
Insert picture description here
choose not to allow dynamic updates. The
current directory is not installed with the active directory.
Insert picture description here
Insert picture description here
After creation
Insert picture description here

Create host record

Insert picture description here
Name setting
(for example) the IP address points to 192.168.166.51.
Insert picture description here
Insert picture description here
There is no reverse zone, and the specified creation cannot be completed.
Insert picture description here
Insert picture description here
So create the reverse zone.
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Complete the creation.
Insert picture description here
Go back to the forward zone and re-update the pointer (enter the properties of the WWW).
Insert picture description here
Click Apply and confirm
Insert picture description here
in the reverse zone. Refresh
Insert picture description here
Enter the client computer to see if it is effective.
Insert picture description here
This completes the analysis and displays the result (indicating that it can be resolved normally).
Insert picture description here
Set the reverse zone
set type=ptr (point to ptr)
. When you enter the IP address, you can get a host name (indicating that the reverse zone configuration is normal)
Insert picture description here
. Back to host record
Insert picture description here

Create alias

Create an alias (both names point to the same host)
Insert picture description here
Set a name to define yourself
Insert picture description here
Browse
Insert picture description here
Insert picture description here
Insert picture description here
Create display results
Insert picture description here
Enter win7 analysis
Insert picture description here
Insert picture description here

Create mail record

First create a new host, create a
Insert picture description here
Insert picture description here
new mail exchanger,
Insert picture description here
browse
Insert picture description here
Insert picture description here
Insert picture description here
and confirm the
creation result,
Insert picture description here
enter the win7 test
set type=mx, and the
normal analysis is as follows
Insert picture description here
: The reason for creating the mail exchanger:

A mail host name (mail.ziyou.cc) has been created, which can only allow us to access this host, but there is no way to provide normal mail exchange analysis for our mail server.
Therefore, a mail server needs to be deployed in a network, and If the mail server needs to be accessed by a domain name, then a mail exchange must be created

View pointer

(Refresh)
The pointers of 51 and 52 have come, indicating that the created A record has come
Insert picture description here

Auxiliary area (convenient for domain name resolution)

Enter long.com
Insert picture description here

Insert picture description here
Insert picture description here
Add an address
Insert picture description here
Click Apply and confirm.
Enter 2012-4 (enter the forward query area) to
Insert picture description here
create a new area.
Insert picture description here
Auxiliary area selection.
Insert picture description here
Insert picture description here
Add the primary server address (domain control of long.com)
Insert picture description here
Insert picture description here
and double-click long.com to
Insert picture description here
refresh after creation . The following appears (it takes time, more Refresh several times)
Insert picture description here
Enter win7 to check whether the auxiliary zone resolved by win2012-1 is normal.
First check the DNS configuration
Insert picture description here
ipconfig /all (DNS server points to 54).
Insert picture description here
Under normal circumstances, 192.168.166.54 cannot resolve domain information. Continue to test and
Insert picture description here
resolve win2012-1. Not found, continue to complete the
Insert picture description here
above results show that the auxiliary area is effective

DNS training is over! ! !

Guess you like

Origin blog.csdn.net/weixin_45849066/article/details/112862445