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; };
加载中...
此文章数据所有权由区块链加密技术和智能合约保障仅归创作者所有。