Date: 02 Nov 2002 10:27:19 -0500 From: "Alex(ander Sendzimir)" <alex@battleface.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: Resolving hostnames takes "forever" Message-ID: <1036250840.74419.67.camel@prometheus> In-Reply-To: <20021102144105.GA1116@happy-idiot-talk.infracaninophi> References: <200211021432.19756.freebsd.nospam@mekanix.dk> <20021102144105.GA1116@happy-idiot-talk.infracaninophi>
next in thread | previous in thread | raw e-mail | index | archive | help
Wow. This has been extremely useful to me, too. I have virtually the
same setup and problem.
If I'm understanding what you [Dr Seaman] are saying, if I analyze the
dns packet data, I might be able to determine if my ISP's DNS software
is broken? I would like to try this because I have a suspicion this is
very likely.
Finally, would it be worth while to run my own DNS server? Will setting
it up be more trouble than it's worth?
Thanks, Doc.
Alex
On Sat, 2002-11-02 at 09:41, Matthew Seaman wrote:
On Sat, Nov 02, 2002 at 02:32:19PM +0100, Bjarne Wichmann Petersen wrote:
The first thing you need to do to track down the problem is to trace
the DNS queries your system makes while you attempt to browse the net.
Supposing that your ethernet interface is fxp0, then you need to run
commands like the following:
# tcpdump -i fxp0 port 53 -w /tmp/dns-packets
[ do some browsing in another window, then hit Ctrl-C ]
This will record all the DNS traffic in the file in /tmp. You can
view the transactions by:
# tcpdump -r /tmp/dns-packets
The reason for not just reading the DNS traffic directly is that
tcpdump tends to generate and pick up it's own DNS traffic, which
tends to lead to a massive feedback loop.
<snip>a lot of good material</snip>
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
--
A L E X A N D E R S E N D Z I M I R Battleface Computing
Custom Computing - Linux & Free BSD - C, Perl, Python, WWW
info@battleface.com | 802 863 5502 | Colchester, VT 05446
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1036250840.74419.67.camel>
