Why domain return different public ip when do a Ping

I have a domain that is not working because of DNS. I checked it in https://dnschecker.org/ and https://who.is

Both sites return the correct IP server, but my domain it's not working. When I do it a ping in console with the command ping www.example.com, the console returns me an incorrect public IP.

Please see:

The public IP you see here is correct.

enter image description here

But when I ping it I received this (incorrect IP):

enter image description here

Is this something like cache DNS or something similar? Or why my public IP on my domain it's not refreshing up?

UPDATE

Now I'm getting this when a check it on https://who.is and I released A record shows without any reason, is there something to remove that record which is causing my website not working as well?:

enter image description here


  1. When you need a help with a particular domain DNS don’t try to hide its name. It doesn’t help with diagnostics.

  2. The IP for festivaldeglobos.mx is 189.139.85.147 while the IP for www.festivaldeglobos.mx is 189.139.107.23 - you should make both the same.

  3. Don’t mix CNAME and A records for the same name. It’s not permitted by the DNS specification and leads to unpredictable results like you see here.

Final state

BTW the festival looks like fun! I wish I could attend :)

Hope this helps :)


Right now if you do an NSLOOKUP on the domain "www.festivaldeglobos.mx", you get a reply with a "CNAME" record pointing to the hostname "ns1.vuelosenglobos.mx", which is probably wrong... as it's unusual to have a www pointing to a nameserver, and also doesn't match what you have above. In-turn, "ns1.vuelosenglobos.mx" returns an "A" record which points to "189.139.107.23". Which is what you see above when you do "ping". Why are you doing both a "CNAME" and an "A" record? You cannot have both.