Maintenance Tools

A large class of the tools called maintenance tools helps you maintain zone files in various ways. The following are some of them.

h2n

h2n is a popular tool; it's a Perl script written by Cricket Liu, one of the authors of the O'Reilly book DNS and BIND. h2n formats a /etc/hosts style file into DNS zone files and a BIND 4 or 8 configuration file. The software is available from the O'Reilly FTP site, but the most updated version is included in the BIND 8 contrib bundle in the directory nutshell. It's a simple, yet effective tool. Consider this /etc/hosts file:

 195.0.166.251 lookfar.linpro.no 195.0.166.130 rcp.linpro.no rcp 195.0.166.200 nfsd.linpro.no nfsd 195.0.166.201 false.linpro.no false 195.0.166.2 mail.linpro.no mail ...

Get Concise Guide to DNS and BIND, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.