231k views
0 votes
What is used to dynamically resolve a hostname on a unix server?

1 Answer

2 votes
Depending on how /etc/nsswitch.conf is set up: first /etc/hosts is checked and if no answer is found, the resolver code queries DNS servers listed in /etc/resolv.conf
User Nagaraj
by
6.2k points