On Sat, Jan 21, 2012 at 1:45 AM, Jan Stary <h...@stare.cz> wrote: > On Jan 21 10:42:58, Jan Stary wrote: >> > On Sat, 21 Jan 2012 09:01:35 +0100, Jan Stary <h...@stare.cz> wrote: >> > > On Jan 21 11:40:32, Wesley M. wrote: >> > >> When i ping localhost it give me : 208.73.210.29 instead of 127.0.0.1 ! >> > >> Where does it come from ? I don't understand. >> > >> I use OpenBSD 5.0 with bind patch. >> > > >> > > Before I burst into howls of derisive laughter: >> > > what "bind patch"? >> >> On Jan 21 12:05:00, Wesley M. wrote: >> > see http://www.openbsd.org/errata50.html >> >> Ah, sorry. >> >> It *seems* that 208.73.210.29 is your public IP, >> bound to the wifi interface you configured, right? >> It would help if you also posted your ifconfig. >> >> From what I can gather from you OP: >> >> - if both rl0 and iw0 are down, >> 'ping localhost' pings 127.0.0.1 >> - if iwi0 is up (how? dhcp? show ifconfig, netstat, resolv.conf, ...), >> 'ping localhost' pings 208.73.210.29 >> - if rl0 is up (how? dhcp? show ifconfig, netstat, resolv.conf, ...), >> 'ping localhost' pings 208.73.210.29 >> >> Is that what you see? >> >> Jan > > Also, your resolv.conf says just > > nameserver 192.168.1.1 > > so /etc/hosts doesn't even get consulted, right?
sure it does. --patrick > So who is 192.168.1.1 and how does it resolve 'localhost' > (under the different network settings)?