Unfortunately, just because YOU can nslookup at time B a particular host
doesn't mean that ntop was able to do the same at time A.  I suggested using
nslookup because it's a quick & dirty proxy for gross dns problems...

All "sniffing" does is to load the sniffed values into the .db file in case
you try to resolve them.  So they should show up as "Found in Cache".  If
you want to see log messages for these, enable #define DNS_SNIFF_DEBUG

The count of queued seems high... (I'd love to see max and # sniffed, but
it's not reported - yet).

After running a day or so, it will probably have resolved most of them from
sniffing other people's dns traffic or various retries.


-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kai
Schaetzl
Sent: Monday, October 14, 2002 4:32 PM
To: [EMAIL PROTECTED]
Subject: [Ntop] Re: not resolving all host names


> 1. It sniffs them out of dns responses it sees as part of the packet
> monitoring function
> 2. It makes it's own dns queries

Well, I thought it would only do the latter. So if it got an IP no. it then
makes a reverse lookup and uses that name or if there isn't one use the IP
no.
However, I see now that it lists (correct) hostnames for machines where the
IP
no. doesn't return a PTR record. So, it must have indeed sniffed the host
name
from the packet traffic, apparently from the HOST http header.

>
> If they're not being resolved, then the ntop host has problems doing dns
> resolution.  (You can test this by doing a nslookup or dig on that
machine).
>

There sure wasn't a problem with dns lookup. It was able to look up almost
all
names for IPs correctly but not for some. There was no problem to nslookup
these. The machine this ntop is running on is the dns for this network,
anyway, but it wasn't able to determine its name (but all others on the
network). Well, this has been mysteriously cured after about one day of
running and even after a reboot.

> Also, check the configuration page for the address counters:

I see something like this at the moment:
Queued 19
Resolved with DNS 168
Kept Numeric 76
Found in Cache 0
Dropped 0

But there are FQDNs which weren't resolved by DNS (the ones which don't have
reverse resolve). There seems to be at least one category missing then?

Kai

--

Kai Sch�tzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org



_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to