Portál AbcLinuxu, 22. července 2025 08:08
/etc/named.conf // // named.conf for Red Hat caching-nameserver // options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; /* * 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 uses an unprivileged * port by default. */ query-source address * port 53; auth-nxdomain no; forward only; forwarders { 62.240.186.10; 62.240.185.5; }; listen-on { 127.0.0.1; 192.168.11.199; }; cleaning-interval 259200; }; // // a caching only nameserver config // controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; zone "." IN { type hint; file "named.ca"; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; include "/etc/rndc.key";
Na stanici v siti se systemem Windows si nastavim jako dns jmeno toho serveru, kde bezi BINDJmeno, jo? Hmm, tak zkus zadat IP adresu. :p
order hosts,bind multi onChtel bych, aby kdyz zadam
ping web.mojedomenatak aby to zacalo pingovat vnitrni adresu na moji siti, ale to se zatim nedeje.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.