Date: Mon, 14 Mar 2005 13:57:31 -0700 From: Jon Drews <jon.drews@gmail.com> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Why does Xfce 4.2 have to query a DNS ? Message-ID: <8cb27cbf0503141257618a12f0@mail.gmail.com> In-Reply-To: <20050314203741.GB13267@nowhere> References: <8cb27cbf05031211126ca5f67d@mail.gmail.com> <20050314183452.GA13267@nowhere> <8cb27cbf050314115632893e85@mail.gmail.com> <20050314203741.GB13267@nowhere>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Mar 2005 14:37:42 -0600, Craig Boston <craig@yekse.gank.org> wrote: > On Mon, Mar 14, 2005 at 12:56:03PM -0700, Jon Drews wrote: > > I have this: > > > > 127.0.0.1 localhost localhost.silbsd.org notebook2.silbsd.org notebook2 > > Hmm, that's really odd then. Both getaddrinfo and gethostbyname should > use hosts first and then fall back on DNS if that fails. Perhaps it's > querying for some other name besides your own. Is it possible to run > tcpdump on the ppp interface to see what name it's trying to resolve? Here is a small bit of output from tcpdump (this is the first time I ever used it) notebook2# tcpdump -vv -i tun0 tcpdump: listening on tun0, link-type NULL (BSD loopback), capture size 96 bytes 13:52:12.114360 IP (tos 0x0, ttl 64, id 4333, offset 0, flags [DF], length: 1164) 37.denver-03rh15rt.co.dial-access.att.net.58964 > 6 4.233.179.106.http: P 937912026:937913150(1124) ack 2155284831 win 65535 13:52:12.523402 IP (tos 0x0, ttl 46, id 42128, offset 0, flags [none], length: 40) 64.233.179.106.http > 37.denver-03rh15rt.co.dial-a ccess.att.net.58964: . [tcp sum ok] 1:1(0) ack 1124 win 22122 <SNIP> Craig, I really don't know how to use this thing (tcpdump). I could read up on. Kind regards, Jon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb27cbf0503141257618a12f0>