vahidreza.y
June 19th, 2011, 11:46 AM
H,
i have bind installed and registered my domain name servers in my registrar and is pointing to my vps server that running bind9 , the forward zone works great and apache,ftp server and mail server are working great.
i need to make my reverse zone works to pass gmail,yahoo,msn ptr record check !
i used some tutorials on this forum and elsewhere to make my forward zone , the only thing that was mysterious is that all tutorials use class c ip addressees and it seems they use their reverse zone only for local purposes !
i have a class a ip assigned and i need reverse dns query for it !
here is my configuration file and zone files :
named.conf.local file :
===========================
zone "example.com" {
type master;
file "/etc/bind/zones/example.com.db";
};
zone "250.140.210.69.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.250.140.210.69.in-addr.arpa";
};
/etc/bind/zones/example.com.db file :
=======================
example.com. IN SOA ns1.example.com. admin.example.com. (
2006081401
28800
3600
604800
38400
)
example.com. IN NS ns1.example.com.
example.com. IN MX 10 mail.example.com.
IN A 69.210.140.250
www IN A 69.210.140.250
mail IN A 69.210.140.250
ns1 IN A 69.210.140.250
/etc/bind/zones/rev.250.140.210.69.in-addr.arpa file :
=======================
@ IN SOA ns1.example.com. admin.example.com. (
2006081401
28800
604800
604800
86400
)
IN NS ns1.example.com.
IN PTR example.com.
ns1 IN A 69.210.140.250if there is something wrong or you have any suggestions please let me know .
i have bind installed and registered my domain name servers in my registrar and is pointing to my vps server that running bind9 , the forward zone works great and apache,ftp server and mail server are working great.
i need to make my reverse zone works to pass gmail,yahoo,msn ptr record check !
i used some tutorials on this forum and elsewhere to make my forward zone , the only thing that was mysterious is that all tutorials use class c ip addressees and it seems they use their reverse zone only for local purposes !
i have a class a ip assigned and i need reverse dns query for it !
here is my configuration file and zone files :
named.conf.local file :
===========================
zone "example.com" {
type master;
file "/etc/bind/zones/example.com.db";
};
zone "250.140.210.69.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.250.140.210.69.in-addr.arpa";
};
/etc/bind/zones/example.com.db file :
=======================
example.com. IN SOA ns1.example.com. admin.example.com. (
2006081401
28800
3600
604800
38400
)
example.com. IN NS ns1.example.com.
example.com. IN MX 10 mail.example.com.
IN A 69.210.140.250
www IN A 69.210.140.250
mail IN A 69.210.140.250
ns1 IN A 69.210.140.250
/etc/bind/zones/rev.250.140.210.69.in-addr.arpa file :
=======================
@ IN SOA ns1.example.com. admin.example.com. (
2006081401
28800
604800
604800
86400
)
IN NS ns1.example.com.
IN PTR example.com.
ns1 IN A 69.210.140.250if there is something wrong or you have any suggestions please let me know .