Ubuntu bind9 DNS server

apt-get install bind9

干净 DNS 方案分享-V2EX

vim /etc/bind/named.conf.options

listen-on {
  192.168.50.0/24;
};
allow-query { any; };
forwarders {
  8.8.8.8;
  8.8.4.4;
};

check configuration

sudo named-checkconf

restart bind9 service

sudo systemctl restart bind9

Leave a Reply

Your email address will not be published. Required fields are marked *