fastresolve/convert-ip-db

CONVERT-IP-DB

Section: User Commands (1) Updated: April 2015

Index

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)

AUTHORS

Chris Ross <cross@distal.com> and David MacKenzie <djm@djmnet.org>.

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
AUTHORS

man pages for fastresolve