Date: Sun, 31 Dec 2000 16:09:54 +0100 From: Gerhard Sittig <Gerhard.Sittig@gmx.net> To: freebsd-stable@freebsd.org Subject: Re: What's new with xdm and 4.2 ? Message-ID: <20001231160954.P253@speedy.gsinet> In-Reply-To: <200012310851.JAA54874@hugo10.ka.punkt.de>; from hausen@punkt.de on Sun, Dec 31, 2000 at 09:51:28AM %2B0100 References: <200012291824.eBTIOoL01154@greatoak.home> <200012310851.JAA54874@hugo10.ka.punkt.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 31, 2000 at 09:51 +0100, Patrick M. Hausen wrote:
>
> > Any idea how I can trace request to the resolver?
>
> tcpdump(1)
Not really, unless I'm getting something wrong. :)
The resolver (gethostbyname(3) & friends) is a libc routine. So
you won't see /etc/hosts queries on the network and needn't see
them when tracing syscalls.
But yes, one could watch DNS queries with some libpcap mechanism
(tcpdump being the most famous of them). But then it might be
easier to talk the named on the server side into logging, see
"man named" for details if that's what you have running there.
Unless the LAN is somewhat bigger and you need the filtering
capabilities tcpdump provides you with.
virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76
Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
--
If you don't understand or are scared by any of the above
ask your parents or an adult to help you.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001231160954.P253>
