Prova a risolvere l'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)
Tutto va bene
Ma se sto usando il browser 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
IP dell'host errato!
Ho provato a svuotare la cache DNS
Si è cercato di sovrascrivere l'IP in / etc / hosts
Tutti uguali
dig name-of-the-host-i-needed ANY
o dig name-of-the-host-i-needed A
restituisce l'IP corretto
Come posso risolverlo?
P.S.
host name-of-the-host-i-needed
name-of-the-host-i-needed has address 128.xxx.yyy.zzz
e
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