exec wrote:
It seems I have a problem with resolver.
[...]

/etc/resolv.conf is right:

domain my.uni.org
nameserver xx.xx.xx.xx
nameserver yy.yy.yy.yy
nameserver zz.zz.zz.zz

All nameservers are working properly on every other machine. I deleted host.conf file (which was also right) and nothing changes.

What makes you think that deleting host.conf was the right thing to do?


Commands host, nslookup, and dig all work very well for both internal an
external sites. But ping for example fails:

cannot resolve www.xxx.yy: Unknown host
[...]

Host, nslookup, and dig use DNS automatically and exclusively, so there doesn't have to be any directive in the system telling them to do so. Most programs, however, use gethostbyname() etc. and need the 'bind' entry in host.conf, which you just removed by deleting this file. If you restore the file DNS lookups will work.


   Uwe
--
Uwe Doering         |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to