>> 4- так же как и пинг может ответить может нет
> в студию конфиг bind с этими записями named.conf
// Boot file for Realist name server
acl "our_folks" {192.168.1.0/24; 82.115.38.250;};
options {
directory "/var/named";
listen-on { any; };
allow-transfer { "none"; };
allow-recursion {"our_folks";};
// allow-query { any ; };
version "unknown";
listen-on-v6 { "none"; };
};
logging {
channel default_ch {
file "/var/log/nameg.log"';
print-time yes;
print-category yes;
};
channel security_ch {
file "/var/log/named_security.log";
print-time yes;
print-category yes;
};
category default { default_ch; };
category security { security_ch; };
category lame-servers {null;};
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0";
allow-update {none;};
};
zone "xxx.xx" {
type master;
file "xxx.xx";
allow-transfer { "our_folks";};
};
zone "33.22.11.in-addr.arpa" {
type master;
file "33.22.11";
};
файл зоны
@ IN SOA ns.xxx.xx. postmaster.xxx.xx. (
2015121657 ; serial, todays date + todays serial #
900 ; refresh, seconds
600 ; retry, seconds
86400 ; expire, seconds
3600 ) ; minimum, seconds
NS ns.xxx.xx.
MX 10 mail ; Primary Mail Exchanger
xxx.xx. A 11.22.33.44
mail A 11.22.33.44
ns A 11.22.33.44
www A 11.22.33.44