Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 14:15:19 -0700
From:      Jon Drews <jon.drews@gmail.com>
To:        Craig Boston <craig@yekse.gank.org>, Jon Drews <jon.drews@gmail.com>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Why does Xfce 4.2 have to query a DNS ?
Message-ID:  <8cb27cbf050314131526d38ba1@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
Craig:

 I just did    tcpdump -i tun0 'udp and port domain' 

notebook2# tcpdump -i tun0 'udp and port domain'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tun0, link-type NULL (BSD loopback), capture size 96 bytes
14:11:12.602265 IP 37.denver-03rh15rt.co.dial-access.att.net.52763 >
ns7.worldnet.att.net.domain:  54055+ AAAA? gmail.google.com. (34)
14:11:12.747917 IP 37.denver-03rh15rt.co.dial-access.att.net.55104 >
ns7.worldnet.att.net.domain:  38507+ PTR? 3.160.127.204.in-addr.arpa.
(44)
14:11:12.880879 IP ns7.worldnet.att.net.domain >
37.denver-03rh15rt.co.dial-access.att.net.52763:  54055 1/1/0
CNAME[|domain]
14:11:12.881012 IP 37.denver-03rh15rt.co.dial-access.att.net.50931 >
ns7.worldnet.att.net.domain:  54056+ A? gmail.google.com. (34)

 I see that the domain names are A and AAAA ?  I have seen this
before, when I am at the WiFi cafe. How could this be?


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?
> 
> Craig
>



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