у меня маленькая проблема =)) я ньюбай в настройке ДНС, поэтому думаю проблема моя вовсе не проблема =)) итак Дано: Slackware 9.1; сеть 192.168.130.0/24; хочу поддержать домен ".k8". named.conf ///////////////////////////////////////////////////////////////////// options { directory "/var/named"; forward first; forwarders {195.161.105.2;195.161.63.35;}; };
zone "." IN { type hint; file "/var/named/named.ca"; };
zone "0.0.127.in-addr.arpa" IN { type master; file "/var/named/named.local"; allow-update { none; }; };
zone "k8" IN { type master; notify no; file "/var/named/k8.db"; };
zone "130.168.192.in-addr.arpa" IN { type master; notify no; file "/var/named/192.168.130.db"; }; /////////////////////////////////////////////////////////////////// storm@daemon:~/named$ cat k8.db $TTL 86400 @ IN SOA daemon.k8. root.daemon.k8. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum daemon.k8 A 192.168.130.3 predator.k8 A 192.168.130.120 cell.k8 A 192.168.130.4
//////////////////////////////////////////////////////////////////// storm@daemon:~/named$ cat 192.168.130.db $TTL 86400 @ IN SOA daemon.k8. root.daemon.k8. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum 3 PTR daemon.k8 120 PTR predator.k8 4 PTR cell.k8 //////////////////////////////////////////////////////////////////// storm@daemon:~/named$ cat named.local $TTL 86400 @ IN SOA localhost. root.localhost. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS localhost.
1 IN PTR localhost.