CONVERT-IP-DB(1)

NAME
convert-ip-db - prepare IP address to hostname mappings for Analog

SYNOPSIS
convert-ip-db [ip2host.db]

DESCRIPTION
convert-ip-db reads a DB file produced by dns-terror. It converts the IP address to hostname mappings from that file into Analog config directives. It writes to the standard output, which should be saved in a file (suggested name: dns.cache) which is sourced in Analog config files with:

DNS READ
DNSFILE dns.cache
# 1008 is (35+7)*24, one week past the expire-ip-db default.
DNSGOODHOURS 1008
DNSBADHOURS 1008

This handling of IP address resolution is similar in speed to using dns-terror -oz to rewrite the log files in gzip form with IP addresses resolved, so perhaps it should be considered obsolete.

FILES

ip2host.db
    Default input DB file.

dns.cache
    Suggested output file name.

SEE ALSO
convert-dom-db(1), dns-terror(1), expire-ip-db(1), make-report(1), db_intro(3)

AUTHORS
Chris Ross <cross@eng.us.uu.net> and David MacKenzie <djm@web.us.uu.net>. Please comments and send bug reports to fastresolve-bugs@web.us.uu.net.