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" [EMAIL PROTECTED]
-- 
     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 [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to