Date: Thu, 12 Jun 2003 08:56:57 +0200 From: Uwe Doering <gemini@geminix.org> To: exec <saso.greiner@uni-mb.si> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: resolver problem Message-ID: <3EE82439.9060508@geminix.org> In-Reply-To: <3EE714D1.8010209@uni-mb.si> References: <3EE714D1.8010209@uni-mb.si>
next in thread | previous in thread | raw e-mail | index | archive | help
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 gemini@geminix.org | http://www.escapebox.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE82439.9060508>