Analog users need always to deal with DNS files.
Every time Analog perform a DNS read it appends the result to a text file, called DNS file (but it's just a common text file).
The standard DNS file for Analog has the form:
time ip name
After some queries this file become fat, because old queries aren't automatically removed.
Moreover, sometimes a DNS server is unavailable, so the query for an IP gives a null result, while the same IP was correctly resolved during the previous query.
If you make regular backups of your DNS file (just in case an IP is redirected to another domain) this script can be a lot helpful. With it you can:
Here are some easy instructions for this script:
Always better to do a backup copy of it.
Just in case you need the spinning counter (SPINCOUNT on) and your computer don't use chr(8) as backspace (the key "eating" text on the screen from right to left) you must modify BS and assign the correct value.
If you need to modify the output there is a variable called DNS_FORMAT: its default value is fanalog, to write output good for Analog.
You can write into DNS_FORMAT some of these parameters:
So, if you need to have a file showing a readable date, a tab, the IP, a tab, the name from last DNS file, a tab, the name from previous DNS file you must use:
Launch this script and wait for a "beep" or whatever sound is doing your machine (if you are analyzing a huge DNS file on a 486 you can have a coffee-break, I suppose - and a pizza if you ask to count A groups).
Here is the result table: I see there was a visitor using LYNX, so I use a <PRE> table rather than a <TABLE> ;-)
newer entry older entry name used -------------- ----------------- ------------- unresolved (*) unresolved (*) newer name or NULL resolved unresolved (*) newer name or NULL unresolved (*) resolved older name resolved resolved newer name (with a WARNING if names aren't equal)
If you need to have some resolved European IPs (mainly Italian) you can download my gzipped DNS file (15396 entries - 170 kb gzipped, 741770 bytes when expanded) and use xdns to merge it with your file.
151.*.*.* 3710 results
62.*.*.* 2681 results
212.*.*.* 1806 results
195.*.*.* 1023 results
194.*.*.* 618 results
209.*.*.* 555 results
KNOWN BUGS AND MISFEATURES
I tell you they are unknown! Send them to me (email@example.com).
You can use this utility freely, and you can modify and improve it (let me know, if you do this!): it is under Perl Artistic License.
It may be used for commercial use only by prior arrangement with the author (Marco Bernardini, webmaster of taggiasca.com).
If you buy some excellent olive oil from our producers this makes me a lot happy. Alas, overseas expeditions are very expensive, so I'm not hurted if you don't buy it it because you're too far.
Analog is (c) by Stephen Turner - see http://www.analog.cx for more infos and for the latest version.
No warranty of any sort, expressed or implied, is provided in connection with the program(s), including, but not limited to, implied warranties of merchantibility or fitness for a particular purpose.
Any cost, loss or damage of any sort incurred owing to the malfunction or misuse of the program(s) or the inaccuracy of the documentation or connected with the program(s) in any other way whatsoever is the responsibility of the person who incurred the cost, loss or damage.
By using this/these program(s) you give up any right to seek any damages against me in connection with this/these program(s).
In other words: before to press a key sit on your hands and think; if you mess up your computer because you overwrite your Windows configuration assigning wrong names to output files it's yours, not mine; if you're fired because your boss don't like your reports it's your job, not mine; if your wife leave you because you waste too many time with your computer she's your wife, not mine (mine usually is sleeping while I'm typing these oddities).
Backup often your hard disk, work hard and be kind with your wife (not necessarily in this order) and life smiles you.
Previous page Upper level Main page
shop Site Map
copyright © 1999 - 2000 by It-Web Information Technology - all rights reserved