Forum Moderators: DixonJones
I'm working off-line so I have configured Analog as:
DNS READ
DNSFILE dnscache.txt
And I've used another tool (LookupIP from clasohm.com) to create dnscache.txt.
However, when I run Analog it refuses to use dnscache.txt, and my site report still contains only unresolved IP addresses. Any ideas? I tried running Analog with SETTINGS ON but this didn't show anything unexpected.
Finally if you can help with this (hey even if you can't) does anyone know, how/if it's possible, to specify IP ranges in the DNSFILE?
Many thanks in advance :)
Welcome to WmW, you just found the right place.
I am not sure Analog can use the dnscache file from another format. I suggest you set the analog.cfg file to DNS WRITE and make it create his own file while working online.
Just curious, did you try removing the .txt extension from the dnscache file?
Removing the txt extension from dnscache did nothing, but let's face it with a fix potentially that easy that was always where I was going to start.
What did work was running Analog on-line with DNS WRITE set. This took ages, over 13mins rather than 15secs, but worked. It also hightlighted what had been wrong previously. The dnscache file I had been using had completely incorrect timestamps. I figure this caused Analog to ignore all the entries it contained.
Now obviously Analog works reasonably quickly again (26secs), even with DNS WRITE set, as it is using the file I have already created. I will try the other tools suggested for DNS lookup though as I have still to run this on the whole set of (larger) log files I have available.
Finally, at the risk of starting an entire new thread, is it now possible for me to include IP ranges in my dnscache file? Do wildcards work? Help wanted, but I will experiment.
qdns /D mydns.txt /L mylog.log
With my full log this just seems to hang (I left it to run for approx 1hr on the last attempt), with a few lines of the log only (with IPs I would expect to resolve) it seemingly runs okay but doesn't resolve the addresses. What am I doing wrong? Do I need a /Y switch, and if so how do I find out the IP address of a DNS server?