reverse DNS in LINUX
Posted on 2007-10-01
I was having problem with setting up reverse DNS entries for my IP address.
the IP provider has agreed to relay their reverse query to 2 nameserver ns1.domain.com and ns2.domain.com
these 2 name servers are INITIALLY located at 1 IP 126.96.36.199, However, I recently changed them to other locations: ns1.domain.com --> ip1, and ns2.domain.com --> ip2. I also have 2 dns servers at those 2 ips, running BIND.
What should I configure for BIND in order to handle reverse look up?
here is my zone file:
xxx.xxx.xxx.in-addr.arpa. IN SOA ns1.domain.com. firstname.lastname@example.org. (
1999040701 ;Serial number
86400) ;Minimum TTL
@ IN NS ns1.domain.com.
@ IN NS ns2.domain.com.
xxx IN PTR cpanel.domain.net.
are those looking correct?. Because, PTR looking still fails at this time ;(