Здравствуйте. Есть 2 почтовых сервера(192.168.0.1 и 192.168.0.10) на связке dovecot+exim4 (nku.example.nku и nrku.mail.nrku). Между ними пытаюсь настроить dns сервер для обмена эл. почтой между собой. Настраиваю на первом сервере(192.168.0.1)
Named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "example.nku" {
type master;
file "/etc/bind/db.example.nku";
};
zone "0.168.192.in-addr.arpa" {
type master;
file "/etc/bind/0.168.192.in-addr.arpa.zone";
};
$TTL 30
$ORIGIN example.nku.
@ IN SOA nku.example.nku. test.example.nku. (
2016031816 ; Serial
1d ; Refresh
1h ; Retry
1w ; Expire
2h ; Negative Cache TTL
)
@ IN NS nku.example.nku. ; Master
@ IN A 192.168.0.1 ;
@ IN MX 10 nku.example.nku. ;
nku IN A 192.168.0.1
mailserver IN A 192.168.0.1
$TTL 30
$ORIGIN 0.168.192.in-addr.arpa.
@ IN SOA nku.example.nku. test.example.nku. (
2016031808 ; Serial
1d ; Refresh
1h ; Retry
1w ; Expire
2h ; Negative Cache TTL
)
NS nku.example.nku.
1 PTR nku.example.nku.
2 PTR nrku.mail.nrku.
10 PTR nku.example.nku.
nameserver 192.168.0.1
domain example.nku
набираю команду #nslookup nku
server: 192.168.0.1
address: 192.168.0.1#53
Name: nku.example.nku
Address: 192.168.0.1
server: 192.168.0.1
address: 192.168.0.1#53
Name: nrku.example.nku
Address: 192.168.0.1