Steps To Install hostdb on Mac

About hostdb : Generate DNS zones and DHCP configuration from hostlist.txt!
More Information: https://code.google.com/archive/p/hostdb/
Steps:

  1. Launch Terminal by pressing command+space, type terminal and hit Enter key.
  2. Run
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  3. Install
    brew install hostdb

Done!

More about hostdb:

HostDB is a system for generating internal DNS zones, external DNS zones, and DHCP configuration data from the same hostlist.txt file. Keep your configurations consistent by generating them all from the same source.

The files that are generated are beautifully formatted and easy to “diff” before they are put into production. It even generates the Makefile required to make the system all work together. A “file push” mechanism (mkdestinations), plus many DNS-related utilities are included (sortbyip, genrange, comparezones, checkrootcache).