4 ms·
Are you writing ::/0 domain.example as well? It might using either AAAA DNS lookups or the equivalent of `getent hosts` which pulls v6 records first, which
by judge2020 6y ago
Are you writing
::/0 domain.example
as well? It might using either AAAA DNS lookups or the equivalent of `getent hosts` which pulls v6 records first, which are only overridden if there is a v6 override for the hostname.
$ getent hosts cloudflare.com && getent ahosts cloudflare.com
2606:4700::6810:85e5 cloudflare.com
104.16.133.229 STREAM cloudflare.com
$ echo "0.0.0.0 cloudflare.com" | sudo tee -a /etc/hosts
$ getent hosts cloudflare.com && getent ahosts cloudflare.com
2606:4700::6810:85e5 cloudflare.com
0.0.0.0 STREAM cloudflare.com