Setting rDNS and PTR records Question

rudtek

Member
Jul 19, 2017
24
2
3
Oregon
cPanel Access Level
Root Administrator
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?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463

mtindor

Well-Known Member
Sep 14, 2004
1,391
70
178
inside a catfish
cPanel Access Level
Root Administrator
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
 
  • Like
Reactions: cPanelMichael