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

10 steps to set up the DNS forward resolution server (1)

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

Share

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

Install DNS forward parsing server

1.yum-y install bind install dns

two。 After installation, use rpm-cp bind to view the dns configuration file path

3. First modify the main configuration file and modify the following two places (path / etc/named.conf)

4. Configure the area profile to configure the following two places (path / etc/named.rfc1912.zones)

5. Create a zone data profile (copy a copy to / var/named/named.localhost in the current directory, named as the zone profile file "kgc.com.zone"; path)

6. The area data file is configured as follows

"/ >

7. Turn off Firewall (systemctl stop firewalld)

Security Enhancement off (setenforce 0)

8. Start the service

9.netstat-anupt | grep 53 can see that all ports are open

10 testing

(/ etc/resolv.conf is the server address specified to provide DNS resolution for the machine)

Modify the address of / etc/resolv.conf configuration file to point to yourself and resolve it for yourself.

Test with the host command

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