VefeindLTD

Member
Jan 26, 2019
12
1
3
Iceland
cPanel Access Level
Root Administrator
What will I see if I do this at my server teminal

dig +nssearch my.ser.ver.ip.in-addr.arpa

Should this command sow my server IP if so, my server is not doing that.

My server has rDNS when I did this

123.123.123.123 321.321.321.321.in-addr.arpa

I got system is the owner.
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
465
113
UK
cPanel Access Level
Root Administrator
To see your server principle IP address use
Code:
 dig your.server.name A
The command you have given is for resolving the nameserver SOA records : and should be given with 'your.server.name' and not the in-addr.arpa IP address.

To reverse dig to get a PTR record use
Code:
dig -x xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is your server IP

For full information Google for man dig, or try that in a terminal (terminal results may vary dependant if your system has the related manual installed)
 

rpvw

Well-Known Member
Jul 18, 2013
1,101
465
113
UK
cPanel Access Level
Root Administrator

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
If that is indeed where it came from the response should indicate the Authoritative Nameservers for the IP address. It should also be noted that the PTR should be present and resolvable and the IP address should be the IP address listed backwards as it is configured in the PTR record.

+[no]nssearch When this option is set, dig attempts to find the authoritative name servers for the zone containing the name being looked up and display the SOA record that each name server has for the zone.