Служба доменных имен сети ЛОКОС Дмитрий Акимов (Dmitry.Akimov@ln.lokos.net) DNS server lokos.net DNS server ln.lokos.net DNS server vls.lokos.net DNS server loiro.lokos.net www.ln.lokos.net DNS server WWW server (172.16.2.4) 217.148.214.98 www.ln.lokos.net 172.16.2.4 www.ln.lokos.net 172.16.2.4 NAT 217.148.214.98 forward internet DNS server (внутренний) DNS server (публичный) пользователь из интернета DNS server локальный пользователь (172.16.2.x) /etc/named.conf options { directory "/var/named/"; allow-query { any; }; allow-transfer { none; }; forwarders { 172.16.63.253; }; }; view "internal" { match-clients { 172.16/16; 192.168/16; 127/8; }; zone "vls.lokos.net" { type master; allow-update { none; }; file "int/vls.lokos.net"; }; }; view "external" { match-clients { any; }; recursion no; zone "vls.lokos.net" { type master; allow-update { none; }; file "ext/vls.lokos.net"; }; }; int/vls.lokos.net www IN A 172.16.29.2 ext/vls.lokos.net www IN A 217.148.214.2 DNS сервер зоны 214.148.217.in-addr.arpa 98 CNAME 98.214.148.217.in-addr.ln.lokos.net. DNS сервер зоны ln.lokos.net $ORIGIN 214.148.217.in-addr.ln.lokos.net. 98 PTR ns.ln.lokos.net. DNS сервер зоны ln.lokos.net /etc/named.conf zone “ln.lokos.net" { type master; file "ext/ln.lokos.net"; }; zone "214.148.217.in-addr.arpa" { type slave; file "ext/in-addr.ln.lokos.net"; masters { 172.16.63.253; }; }; ext/ln.lokos.net $ORIGIN ln.lokos.net. www A 217.148.214.98 $ORIGIN 214.148.217.in-addr.ln.lokos.net. 98 PTR www.ln.lokos.net. DNS сервер зоны lokos.net /etc/named.conf zone "214.148.217.in-addr.arpa" { type master; file "ext/in-addr.lokos.net"; }; ext/in-addr.lokos.net $ORIGIN 214.148.217.in-addr.arpa. 98 CNAME 98.214.148.217.in-addr.ln.lokos.net. 2 CNAME 2.214.148.217.in-addr.vls.lokos.net. 128 CNAME 128.214.148.217.in-addr.loiro.lokos.net.