Question regarding dig
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.
-
To see your server principle IP address use 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 usedig -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)0 -
Thank you. I found this at cPanel wiki, just wanted to ask. 0 -
Hello @VefeindLTD For context can you show me the location where you found that? 0 -
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. 0
Please sign in to leave a comment.
Comments
5 comments