The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pinging non exist domain get own IP

Discussion in 'Bind / DNS / Nameserver Issues' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page