Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2004 16:13:32 +0200 (CEST)
From:      Olaf Hoyer <ohoyer@ohoyer.de>
To:        "=?iso-8859-1?q?Jorge=20Mario=20G.?=" <murcielako@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: [UPDATED]sick and tired of freebsd resolving problems
Message-ID:  <20040828160402.P55750@gaff.hhhr.ision.net>
In-Reply-To: <20040827023455.13333.qmail@web50301.mail.yahoo.com>
References:  <20040827023455.13333.qmail@web50301.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Aug 2004, Jorge Mario G. wrote:
> > > > the laptop (Linux/FreeBSD) has the same hosts
> > file
> > > > and linux can ping to the outside world ALWAYS.
> > > > so can do it the Windows boxes.

> > > > somthing like this
> > > > icmp echo request freebsd.org (my DNS servers)
> > here
> > > > then it tries freebsd.foodamain.org
> > > >
> > > > then after like 2 mins I get
> > > >
> > > > coulnt lookup host
> > > > or something like that

> here are the actual files
>
> ########### resolv.conf############
> nameserver 200.13.224.8
> nameserver 200.75.78.78
> ################################
>
> ############3 host ###############
> 127.0.0.1               localhost
> localhost.mosca.linopryne.com
> 192.168.0.254           mosca mosca.linopryne.com
> 192.168.0.1             a a.linopryne.com
> 192.168.0.2             b b.linopryne.com
> 192.168.0.10            diana diana.linopryne.com
> ######################################333
>
> diana is using those DNS server and is working ok
>
> mosca is the conflicting machine
>
> a is the gateway
> b is teh WIFI AP

Hi!

Well, to clarify a bit:

You have diana and mosca, both workstations, which you are logged on.
on mosca (the FBSD box) you have above /etc/resolv.conf.

So when you are also having problems to connect to the outside world,
then I suggest you check the following things in order:

on Mosca:
netstat -rn	#check if mosca really has a default route via the
gateway to outside world
ping 66.94.230.46	# thats one of the IPs from yahoo.com
ping www.yahoo.com	# check if DNS actually does something

-------------
When we have come until here without failures, then your inet connection
is functional and running, and we have to debug the local setup.

Please do these commands, and paste/post the _full_ output especially
the part about the icmp replies with ping.

BTW: host/nslookup use different routines for resolving Names, they
directly use DNS and will not look into files, applications like ping,
ssh etc. will do name lookup via the gethostbyname(3) or getaddrinfo(3)
syscalls, that include looking up the /etc/hosts file.

so a : nslookup diana    will not bring you a correct answer.

HTH
Olaf

-- 
Olaf Hoyer        ohoyer@ohoyer.de
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040828160402.P55750>