convert-ip-db - prepare IP address to hostname mappings for Analog
convert-ip-db [ip2host.db]
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.
- ip2host.db
- Default input DB file.
- dns.cache
- Suggested output file name.
convert-dom-db(1), dns-terror(1), expire-ip-db(1), make-report(1)
Chris Ross <cross@distal.com> and David MacKenzie <djm@djmnet.org>.
Please comments and send bug reports to <fastresolve-bugs@djmnet.org>.