banner
云野阁

云野阁

闲云野鹤,八方逍遥

Setting up a DNS server

Server Side#

(1) Install bind9 online

yum install -y bind bind-utils

(2) Start the service

systemctl start named

(3) Check the service status

systemctl status named

(4) Configure the service to start on boot

systemctl enable named

(5) Modify the named service configuration file to set the DNS log path

vi /etc/named.conf
-------------------named.conf-------------------
options {
        // Accept DNS requests from any network interface
        listen-on port 53 { any; };
        listen-on-v6 port 53 { ::1; };
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.