On Fri, Jan 02, 2015 at 04:16:47PM EST, Richard Brooks wrote:

> As you can probably tell from the version number, I've been using OpenBSD
> for a while, but have only recently discovered that name resolution entries
> in the hosts file are not being used and that the o/s waltz's merrily off
> to the remote DNS server when the info it needs is in the hosts file.
> 
> resolv.conf file has the 'lookup file bind' option along with entries for
> domain and search. Also tried deleting the hosts file and just adding a
> couple of entries, but no joy. The hosts file has read access for all users
> set. Am not running named or dhcp servers.
> 
> Just did an o/s and user land update. That didn't help either. Also tried
> renaming resolv.conf to _resolv.conf and rebooted so the o/s didn't have a
> resolv.conf file, the default behaviour in this scenario being that the
> hosts file is all that gets used, but alas it's not so.
> 
> Does anyone have any ideas on what's going on?

Hi Richard,

Could you include both the 'hosts' and 'resolv.conf' files, please?

As already pointed out, how are you doing the lookup?

Regards,

Raf

Reply via email to