O'Reilly logo

Concise Guide to DNS and BIND, The by Nicolai Langfeldt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required