etc-configs/named.conf

46 lines
919 B
Plaintext
Raw Normal View History

2022-12-03 01:56:42 -03:00
// 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;
2023-01-09 19:21:51 -03:00
querylog no;
2022-12-03 01:56:42 -03:00
# 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";
};