Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Question regarding dig

Discussion in 'Bind/DNS/Nameserver' started by VefeindLTD, Feb 13, 2019.

  1. VefeindLTD

    VefeindLTD Member

    Joined:
    Jan 26, 2019
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    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.
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    442
    Trophy Points:
    113
    Location:
    Spain
    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)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. VefeindLTD

    VefeindLTD Member

    Joined:
    Jan 26, 2019
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Iceland
    cPanel Access Level:
    Root Administrator
    Thank you.

    I found this at cPanel wiki, just wanted to ask.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    473
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @VefeindLTD


    For context can you show me the location where you found that?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    442
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,124
    Likes Received:
    473
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice