Portál AbcLinuxu, 19. listopadu 2025 03:14
acl "trusted" {
192.168.0.45; # ns1 - can be set to localhost
192.168.0.0/24; # host1
};
options {
directory "/var/cache/bind";
recursion yes; # enables resursive queries
allow-recursion { trusted; }; # allows recursive queries from "trusted" clients
listen-on { 192.168.0.45; 127.0.0.1; }; # ns1 private IP address - listen on private network only
# allow-transfer { none; }; # disable zone transfers by default
dnssec-validation auto;
listen-on-v6 { none; };
edns-udp-size 1232;
max-udp-size 1232;
forwarders {
192.168.0.1;
8.8.8.8;
};
};
named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "domov.local" {
type master;
file "/etc/bind/zones/db.domov.local"; # zone file path
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/zones/db.192.168.0"; # 192.168.0.0/24 subnet
};
Poprosím o navedení, kde dělá, chybu. Další konfiguraci případně dodám.
Řešení dotazu:
dnssec-enable yes; dnssec-validation yes;potom již funguje
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.