Link to home
Create AccountLog in
Avatar of valleytech
valleytechFlag for United States of America

asked on

reverse DNS in LINUX

Hi,
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 64.62.250.96, 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. admin@domain.net. (

                                                               1999040701 ;Serial number
                                                               10800      ;Refresh
                                                               3600       ;Retry
                                                               604800     ;Expire
                                                               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 ;(

thanks!!!
ASKER CERTIFIED SOLUTION
Avatar of arrkerr1024
arrkerr1024
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of valleytech

ASKER

thanks!
after using "nslookup xxx.xxx.xxx ns1.domain.net" (right at the DNS itself), i got this
xxx.xxx.xxx.in-addr.arpa       name = cpanel.domain.net.

the bind returns ok
Oct  3 15:10:04 ns1 named[2373]: no IPv6 interfaces found
Oct  3 15:10:04 ns1 named: named reload succeeded

i'd like have reverse record for xxx.xxx.xxx.xxx. I've requested the PROVIDER for that IP to point their PTR query to where my dns resides (technically, another IP provider). Will it work that way?

thanks!
Thats really a question that only your ISP can answer.  Do they support classless reverse delegation?  If so, just ask them to delegate the reverse to your dns servers.
thanks!
the dnsstuff reverse query still showed that the ns1.domain,net still resides that the old IP which is not correct because I have made changes days before.
Is it problem caused by DNS cache? it's been 48 hours already
thanks again!! it finally works