Intentando resolver el host:
nslookup name-of-the-host-i-needed
Non-authoritative answer:
Name: name-of-the-host-i-needed
Address: 128.xxx.yyy.zzz (it's correct)
Todo está bien
Pero si estoy usando el navegador o wget:
wget https://name-of-the-host-i-needed/index.html
--2017-05-16 11:03:02-- https://name-of-the-host-i-needed/index.html
Resolving name-of-the-host-i-needed... 120.aaa.bbb.ccc
Host IP incorrecto!
Se intentó vaciar la memoria caché de DNS
Se intentó sobrescribir la IP en / etc / hosts
Todos iguales
dig name-of-the-host-i-needed ANY
o dig name-of-the-host-i-needed A
produce IP correcta
¿Cómo puedo arreglarlo?
P.S.
host name-of-the-host-i-needed
name-of-the-host-i-needed has address 128.xxx.yyy.zzz
y
host name-of-the-host-i-needed 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:
name-of-the-host-i-needed has address 128.xxx.yyy.zzz