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!

Pinging non exist domain get own IP

Discussion in 'Bind/DNS/Nameserver' started by Attila, Sep 12, 2016.

  1. Attila

    Attila Registered

    Joined:
    Sep 12, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hungary
    cPanel Access Level:
    Root Administrator
    Hello,
    I have an interesting problem.
    When I ping an existing website (like facebook.com), I get the website's IP address.
    But, when I ping non-existing website (like dgjgjfhsgajhg.hu), I get my server's IP address.
    What is the problem? How can I resolve?
    Regards
     
  2. Attila

    Attila Registered

    Joined:
    Sep 12, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hungary
    cPanel Access Level:
    Root Administrator
    Update: when I ping non exist domain, the pinged domain changes to "subdomain":
    from "dgjgjfhsgajhg.hu" to "dgjgjfhsgajhg.hu.mywebsite.com". Ho to prevent this changing?
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Have you added any custom entries to the /etc/hosts file on this system? Also, are you using your provider's resolvers in your /etc/resolv.conf file?

    Thank you.
     
    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