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

What are the matters needing attention in the use of self-contained BIND under Linux system

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces what matters needing attention in the use of self-contained BIND under the Linux system, the article is very detailed, has a certain reference value, interested friends must read it!

Points for attention in the use of self-contained BIND under Linux system

Default settings for BIND

/ etc/named.conf-profile

/ etc/sysconfig/named-whether to start chroot and additional parameters are controlled by this file

/ var/named/-- Database files are placed in this directory by default

/ var/run/named-- named this defaults to placing pid-file in this directory when the program is executed

You can view the directory specified by chroot by viewing / etc/sysconfig/named

# vi / etc/sysconfig/named

ROOTDIR=/var/named/chroot

In this way, all the information required for the relevant procedures of bind will be in:

/ var/named/chroot/etc/named.conf

/ var/named/chroot/var/named/zone_file1

/ var/named/chroot/var/named/zone_file...

/ var/named/chroot/var/run/named/...

However, you can still use / etc/named.conf to set your DNS

Because the system will actively link / var/named/chroot/etc/named.conf to / etc/named.conf for you.

Summary of DNS servers:

A > the main profile is / etc/named.conf

B > each forward solution and inverse solution requires a file, and the file name is set by / etc/named.conf

C > the current BIND program has already implemented chroot. You can refer to / etc/sysconfig/named.

D > when querying DNS, if you don't have a database, go to root (. ) or forwarders host query

The erection of e > DNS server requires the authorization of the upper DNS to become a legitimate DNS server, otherwise it can only be internal.

It is important to check the information in / var/log/messages whether f > named starts successfully.

The above is all the contents of the article "what are the precautions for the use of self-contained BIND in the Linux system?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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

Development

Wechat

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

12
Report