Why does Xfce 4.2 have to query a DNS ?
jon.drews at gmail.com
Mon Mar 14 12:57:32 PST 2005
On Mon, 14 Mar 2005 14:37:42 -0600, Craig Boston <craig at 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
126.96.36.199.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) 188.8.131.52.http > 37.denver-03rh15rt.co.dial-a
ccess.att.net.58964: . [tcp sum ok] 1:1(0) ack 1124 win 22122
Craig, I really don't know how to use this thing (tcpdump). I could
read up on.
More information about the freebsd-ports