In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
How is the DNS service subdomain authorized in CentOS? I believe that most people have not yet learned this skill, in order to let you learn, to give you a summary of the following content, do not say much, let's move on.
Environment description
Using BIND9 based on CentOS7,DNS software
Parent domain: www.tedu.org
Subdomain: www.cd.tedu.org
The parent domain and child domain are located on two servers respectively.
Add forward zone authorization, format: SUB_ZONE_NAME (subdomain zone name) IN NS NSSERVER_SUB_ZONE_NAME (server subdomain zone name) NSSERVER_SUB_ZONE_NAME IN An IP (server IP address)
Concrete examples are given to realize
Define master and slave servers ns1 and ns2tedu.org. IN NA ns1.tedu.org. IN NA ns2.tedu.org.ns1.tedu.org. IN A 192.168.1.3ns2.tedu.org. IN A 192.168.1.4; define subdomain server cd.tedu.org IN NA dns.cd.tedu.orgdns.cd.tedu.org IN A 192.168.11.3
If the root domain supports recursion, the root domain crashes. Therefore, the root or, first-level domain name and second-level domain name DNS servers in the Internet do not support recursion, that is to say, if you ask it, it only does one thing, that is, to tell you who the next level is, and then the whole process is the preferred DNS server running errands.
The child domain DNS server can resolve the domain name of the parent domain
Modify the DNS server of a subdomain
Zone "cd.tedu.org" IN {type master file "name.cd.tedu.org.zone"} zone "tedu.org" IN {type forward forwarders {192.168.1.3 }} Note: after BIND9 modifies and adds records, use the following command to reload (rather than restart the service) rndc reload's method for authorization of DNS service subdomains. I hope the above can be helpful and learn more. If you think the article is good, you can share it for more people to see.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.