Pinging non exist domain get own IP

Attila

Registered
Sep 12, 2016
2
0
1
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
 

Attila

Registered
Sep 12, 2016
2
0
1
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
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.