I have e-mail & DNS server in my office.
Running DNS service looks OK, but reverse DNS information cannot be seen from outside of the office.
My OS is CentOS 5.8 with default BIND package.
/etc/named.conf
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
};
zone "." IN {
type hint;
file "/etc/db.cache";
};
zone "example.com" IN {
type master;
file "/var/named/named.example.com";
};
zone "87.654.321.in-addr.arpa" {
type master;
file "/var/named/named.example.rev";
};
/var/named/named.example.com
$ORIGIN .
$TTL 86400
example.com. IN SOA ns1.example.com. root.example.com. (
2012112216 ; modified by Kevin
3600
1800
1800000
86400 )
example.com. IN A 123.456.78.90
MX 0 mail.example.com.
NS ns1.example.com.
$ORIGIN example.com.
localhost.example.com. IN A 127.0.0.1
mail.example.com. IN A 123.456.78.90
MX 0 mail
ns1.example.com. IN CNAME mail
webmail.example.com. IN CNAME mail
ftp.example.com. IN A 123.456.78.90
www.example.com. IN A 123.456.78.90
example.com. IN TXT "v=spf1 ip4:123.456.78.90 -all"
/var/named/named.example.rev
$TTL 86400
@ IN SOA ns1.example.com. root.example.com. (
2012112216 ; modified by Kevin
3600
1800
1800000
86400 )
87.654.321.in-addr.arpa. IN NS ns1.example.com.
09.87.654.321.in-addr.arpa. IN PTR mail.example.com.
------------------------------------------------
When I try 'nslookup' in the office, all looks OK.
But, I tried the same from the other network, reverse information cannot be seen.
Could anybody check my configuration and advise?
Thanks in advance.