Answer by Patrick Mevzek for strace does not list /etc/hosts in ping/host...
host, nslookup and dig are all DNS utilities: they do DNS queries, and hence bypass the nornal name resolution provided by OS/libc through usual gethostbyname() and getaddrinfo() calls. Note that they...
View Articlestrace does not list /etc/hosts in ping/host command in CentOS 7
I was reading https://zwischenzugs.com/2018/06/08/anatomy-of-a-linux-dns-lookup-part-i/ and on the author's Debian/Ubuntu system /etc/hosts is used. But when I do strace under CentOS 7, I don't see...
View Article
More Pages to Explore .....