Re: /etc/hosts file not being used - OpenBSD v5.1

2015-01-02 Thread Richard Brooks
Hi Raf, It's all been sorted. Should have used getent to check my tweaks. On Friday, 2 January 2015, Raf wrote: > On Fri, Jan 02, 2015 at 04:53:32PM EST, Richard Brooks wrote: > > > Hi Raf > > Hi Richard, > > > Would rather not gives these files out as they do reveal the layout of my > > networ

Re: /etc/hosts file not being used - OpenBSD v5.1

2015-01-02 Thread Raf
On Fri, Jan 02, 2015 at 04:53:32PM EST, Richard Brooks wrote: > Hi Raf Hi Richard, > Would rather not gives these files out as they do reveal the layout of my > network. But the simple hosts file I tried was along the lines of: Content of 'resolv.conf' might be crucial here - otherwise you may

/etc/hosts file not being used - OpenBSD v5.1

2015-01-02 Thread Richard Brooks
Hi Raf Would rather not gives these files out as they do reveal the layout of my network. But the simple hosts file I tried was along the lines of: 127.0.0.1 localhost 192.168.1.1 myserver.domain.com TheServer Like I say the hosts file should do its work without the resolv.conf file (which I tr

Re: /etc/hosts file not being used - OpenBSD v5.1

2015-01-02 Thread Richard Brooks
Hi Raf Would rather not gives these files out as they do reveal the layout of my network. But the simple hosts file I tried was along the lines of: 127.0.0.1 localhost 192.168.1.1 myserver.domain.com TheServer Like I say the hosts file should do its work without the resolv.conf file (which I tr

Re: /etc/hosts file not being used - OpenBSD v5.1

2015-01-02 Thread Raf
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 t

Re: /etc/hosts file not being used - OpenBSD v5.1

2015-01-02 Thread Otto Moerbeek
On Fri, Jan 02, 2015 at 09:16:47PM +, 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

/etc/hosts file not being used - OpenBSD v5.1

2015-01-02 Thread Richard Brooks
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. reso