You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
etc-configs/named.conf

46 lines
919 B

// vim:set ts=4 sw=4 et:
options {
directory "/var/named";
pid-file "/run/named/named.pid";
// Uncomment these to enable IPv6 connections support
// IPv4 will still work:
// listen-on-v6 { any; };
// Add this for no IPv4:
listen-on port 53 { 127.0.0.1; 186.64.123.31; };
allow-recursion { any; };
allow-query-cache { any; };
allow-query { any; };
allow-transfer { none; };
max-cache-ttl 30;
max-ncache-ttl 30;
// version none;
// hostname none;
// server-id none;
recursion yes;
querylog no;
# DNSSEC disabled because the main purpose is to use it behind
# this server DoT, dns.zzls.xyz=186.64.123.31
dnssec-validation no;
};
zone "localhost" IN {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.zone";
};
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
type master;
file "localhost.ip6.zone";
};