Setting rDNS and PTR records Question
Hi everyone. I've read tutorials on this and tried a few things but I can't figure out what is going on and I hope someone can help.
I have 3 ip records: (numbers changed to protect the innocent)
1.2.3.7 (my actual server)
1.2.3.8 - 1st glue record - nameserver 1
1.2.3.9 - 2nd glue record - nameserver 2
so my actual server is at the first ip. That's where i access ftp, the site etc. The other 2 IPs are never accessed.
My question is which should be the ptr record ?
In my "add new zone Entry" in WHM I created a new entry called:
3.2.1.in-addr.arpa
Then I created a PTR record
7 PTR server.example.com
8 PTR ns1.example.com
9 PTR ns2.example.com
is this what i should have done?
-
Hello, We document how to configure RDNS in Bind at: How to Configure Reverse DNS for BIND in WHM - cPanel Knowledge Base - cPanel Documentation However, generally the permission to do this is not offered by data centers or hosting providers. Instead, you need to setup the RDNS records through them, or through an administrative interface they provide. Thank you. 0 -
To expand on what Michael has said, do something like this: dig 3.2.1.in-addr.arpa ns @some.public.resolver ( eg: dig 3.2.1.in-addr.arpa ns @resolver.qwest.net ) In the answer section are the nameservers that handle rDNS (the PTR records) for that block. If you don't have control over the nameservers listed in the Answer section, you'll need to contact the company who manages those nameservers and ask that they add the PTRs for you. It's quite rare that a cPanel provider would have delegated authority to your server to manage those records locally. However, depending upon the datacenter, in your billing/administrative interfaces for all of your services you may have the option. For instance, at Digital Ocean one can log into their DO account and manage PTR records for those IP addresses that were assigned to their server by DO. Mike 0
Please sign in to leave a comment.
Comments
2 comments