Portál AbcLinuxu, 14. května 2024 14:58
******* named.conf****** include "/etc/bind/named.conf.options"; zone "." { type hint; file "/etc/bind/db.root"; }; // be authoritative for the localhost forward and reverse zones, and for // broadcast zones as per RFC 1912 zone "localhost" { type master; file "/etc/bind/db.local"; }; zone "127.in-addr.arpa" { type master; file "/etc/bind/db.127"; }; zone "0.in-addr.arpa" { type master; file "/etc/bind/db.0"; }; zone "255.in-addr.arpa" { type master; file "/etc/bind/db.255"; }; // Informace o DNS ns.neco.cz zone "neco.cz" { type master; file "neco.named"; }; zone "1.1.10.in-addr.arpa" { type master; file "neco.rev"; }; include "/etc/bind/named.conf.local"; *********neco.named*********** $TTL 10 @ IN SOA neco.cz. admin.neco.cz. ( 2007040103 ; 10800 ; 1800 ; 1209600 ; 604800 ) ; NS ns.neco.cz. NS ns MX 10 mail.neco.cz. ; necoserver A 10.1.1.10 ; ns CNAME necoserver mail CNAME necoserver www CNAME necoserver katka CNAME necoserver ivo CNAME necoserver ftp CNAME necoserver ***************neco.rev***************** $TTL 10 @ IN SOA neco.cz. admin.neco.cz. ( 2107040102 ; 10800 ; 1800 ; 1209600 ; 604800 ) ; ; NS ns.neco.cz. ; 10 PTR necoserver.neco.cz. 10 PTR www.neco.cz. 10 PTR mail.neco.cz. 10 PTR ns.neco.cz. ****************named.conf.options************** options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you might need to uncomment the query-source // directive below. Previous versions of BIND always asked // questions using port 53, but BIND 8.1 and later use an unprivileged // port by default. query-source address * port 53; // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. //forward first; //forwarders { // 12.13.14.15; // 12.13.14.16; // }; auth-nxdomain no; # conform to RFC1035 };zda se mi ze konfigurace je spravna ale nejsem expert a teprve se ucim. a presto host neco.cz
Host neco.cz not found: 2(SERVFAIL)diky moc
@ A 10.1.1.10podle RFC by nemelo byt vice PTR zaznamu pro jeden A zaznam. a MX zazam by mel smerovat na A zaznam. Jinak ty konfiguraky vypadaji v poradku. mozna jsem neco prehlidl.
dig mail.neco.czvam vrati spravnou IP ????
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.