Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Set up independent DC domain controller and DNS server

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

General idea: first build the DNS server, then build the DC domain control, and then join the DNS server and client to the 17w.com domain.

Experimental environment: three independent virtual machines, DC domain controller, DNS server and client. The DC domain controller and DNS server have the Windows Server 2008 R2 operating system installed, and the client is Windows 7x64 Ultimate Edition. All three virtual machines use NAT network mode. The IP address of DC domain controller is 192.168.161.101. The IP address of the server is 192.168.161.102 and the IP address of the client is 92.168.161.103. The DNS address is 192.168.161.102.

Change the computer name of the DC domain controller to DC

Change the computer name of the DNS server to DNS

Change the computer name of the client to Admin

At this time, all three virtual machines are in workgroup mode

First, build a DNS service on the DNS server and create a 17w1.com domain. The specific steps are as follows:

1. Open Server Manager and click add role

two。 Select the server role, check "DNS Server", and click "next".

For an introduction to 3.DNS server, click "next".

4. Confirm the installation selection and click "install".

5. Open the Administrative tool-DNS, create a new domain name for 17w1.com, open the zone creation wizard, and click next.

6. Region type, select "main area" and click "next".

7. Fill in the region name "17w1.com" and click "next".

8. Zone file, keep the default, click "next".

9. Dynamic updates, this step is critical, select "allow non-secure and secure dynamic updates" and click "next".

10. To finish the new area, click "finish".

2. Set up a domain controller on the DC server. The specific steps are as follows:

1. Open Server Manager, click roles, and then click add roles on the right.

two。 Pop up the add role Wizard and click next.

3. Select the server role, check "Active Directory Domain Services", and click "next".

To introduce 4.Active Directory domain services, click "next".

5. Confirm the installation selection and click "install".

6. Windows + R key, type "dcpromo", open "Active Directory Domain Services installation Wizard", check "install using Advanced Mode", and click "next".

7. Operating system compatibility, click "next".

8. Select a deployment configuration, select "New Domain in New Forest", and click "next".

9. Name the forest root domain, the FQDN (F) of the forest root domain: fill in "17w1.com" and click "next".

10. The domain NetBIOS name remains "17w1" by default, and click "next".

11. Set the forest function level, keep it by default, and click "next".

twelve。 Other domain controller options, note that the DNS server must not be checked here, otherwise DNS will be installed on the current server, click "next".

13. Pop up "failed to register DNS" to indicate whether you want to continue without installing the DNS server service, and click "Yes".

14. The location of the database, log files, and SYSVOL can be kept by default, and click "next".

15. Directory service restore mode administrator password, here we use 123.abc, click "next".

16. For summary information, click "next".

17. For the last step, check "restart after completion".

3. Install DC domain service. The specific steps are as follows:

1. Search for "dcpromo", open the "Welcome to the Active Directory Domain Services installation Wizard", check "install using Advanced Mode", and click "next".

two。 Operating system compatibility, click "next".

3. Select a deployment configuration, where you should select "create a domain in the new forest" and click "next".

4. Name the forest root domain, enter "17w1.com", and click "next".

5. Domain NetBIOS name, keep the default, click "next".

6. Set the forest function level, keep it by default, and click "next".

7. Other domain controllers select other options, uncheck "DNS server" and click "next".

8.DNS registration failed. Do you want to continue without installing the DNS server? Click "Yes".

9. The location of the database, log files, and SYSVOL can be kept by default, and click "next".

10. The administrator password for the directory service restore mode, set here to 123.abc, click "next".

11. For summary information, click "next".

twelve。 Finally, check "restart when finished".

At this point, the DC domain controller is built.

Fourth, join the built DNS server to the 17w.com domain.

First, you need to create a new host A record for DC on the DNS server.

1. Open the system properties of the DNS server and click "Advanced system Settings" on the left.

two。 System properties, click the computer name tab, and click the change button.

3. To change the computer name / domain, select "Domain", enter "17w1" and click "OK".

4.Windows security, enter the name and password of the account that has the right to join the domain. The administrator is administrator and the password is 123.abc. Click OK.

5. Prompt Welcome to join 17w1 domain.

At this point, after the DNS server restarts, it successfully joins the domain environment.

Fifth, join the client to the 17w1 domain, the operation procedure is the same as DNS.

View DC servers, Active Directory users and computers

View the DNS server, 17w1.com domain

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report