CONVERT-IP-DB
NAME
convert-ip-db - prepare IP address to hostname mappings for AnalogSYNOPSIS
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 1008This 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.