Re:Some ways DNS can break
by teddyh on Monday January 17, 2022 @05:24AM
(#29965127)
In case of Linux with glibc, check /etc/nsswitch.conf. The line in there starting with "hosts:" has the configured order of host name resolution methods, where "files" means /etc/hosts, and "dns" means /etc/resolv.conf. Other entries, like "mdns" or "mymachines" are additional optional modules and you should consult their respective documentation, and you can always uninstall them if you don’t want them.
[ Parent
| on HN ]
Full documentation: https://www.gnu.org/software/libc/manual/html_mono/libc.html...