Get the App
SLTechnology News&Howtos  ›  Servers  › 

AD domain and DNS are not on the same server. The operation of setting up AD domain before DNS

Shulou Source: shulou.com Published: 2022-06-02 03:50:06 11月12日 Update

Prepare two virtual machines in advance, one for DNS and one for AD domain, and one for AD domain is 192.168.6.16 and the other is 192.168.6.16 and 24DNS for 192.168.6.10 and 24.

one。

DNS sets the IP address 192.168.6.10 to 24, the AD domain sets the IP address to 192.168.6.16 to 24, and the preferred DNS points to the IP address of the DNS server.

DNS:

AD domain:

two。

Enter dcpromo on the AD domain server to open the wizard to install the domain:

Then click next:

In this step, select "create a new domain in the new forest" and then next:

Then use a domain control suffix you want, such as cun.com, next:

The next step is to remove the "√" from DNS:

The next step is

The installation directory can be set by yourself or by default

Set the password you can remember so that you can delete the installation domain control later, and then install it:

Restart after the installation is complete, then turn off the firewall and domain firewall, using DNS to identify:

3. Operation of DNS

Add a DNS role:

After successful installation, open the installed DNS server:

Right-click the forward lookup zone to create a new zone:

Main areas:

Note that the name of the new zone must be the same as that of the AD domain control:

The next step must be to allow dynamic updates:

And then finish it.

Then create a new host:

When adding a host, the IP address is the IP address of its own DNS server: 192.168.6.10:

Create a host A record, then right-click the cun.com property, modify the dns record, change the primary server of the starting authority to dns.cun.com, and then modify the name server:

four。 Restart the service in the AD domain and enter services.msc in the beginning

Find the service and right-click to restart:

Then several new records are added to the DNS server cun.com:

At this point, the experiment has been completed, and you can join the domain with pc.

Tags: Service server address zone host name firewall input fire protection same success two dynamic suffix wizard password attribute point organization directory Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Linux MariaDB Xiaomi Redmi