Question:
Domain resolution?
Nidhin N L
2006-07-06 13:37:39 UTC
Will a domain name resolve even if the Linux computer from which you are trying to access the domain name doesnt have any entry in /etc/resolv.conf file ..
Three answers:
Kurt Wagner
2006-07-06 14:56:46 UTC
DNS will not resolve without /etc/resolv.conf. However, if the Linux system support DHCP the /etc/resolv.conf will be modified by DHCP so it will work. domain name may also be resolved via other directory services such as NIS or local hosts file. check the /etc/nsswitch.conf file on your system.
svancouw
2006-07-06 13:50:35 UTC
No, the linux computer will need a resolv.conf entry in order to resolve domain names. The only way around this is to manually imput IP addresses instead of domain names, but this is not recommended, as it may not work the way you want it to.
sheeple_rancher
2006-07-06 13:42:18 UTC
Yes, because it will go to a nameserver on the net (or should).



If you are talking about computers on an internal network, yuo need to set up one as a nameserver to ge around that.



You can also use a plain old hosts file (usually /etc/hosts).


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...