Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
HOSTDB is the host management system currently in use at Stockholm university.

With HOSTDB, you can maintain information about your hosts and have ISC DHCP
and ISC BIND zonefiles generated for you.
There are both web interfaces and command line interfaces to the database -
both of which use the HOSTDB perl API.

HOSTDB provides delegation of rights to manage certain zones or subnets to
other parts of your organization (web interface only). Access control can be
accomplished with lists of usernames (REMOTE_USER) and/or LDAP groups in the
configuration file.

HOSTDB is *very* mature. We have been using it since 2002 (and it is now 2010).

HOSTDB is NOT aiming at being feature rich - instead HOSTDB concentrates on
doing what it does very well and letting you do the rest by hand (or by other

For DNS, this means that HOSTDB can manage A, CNAME and PTR (AAAA is a strong
wish list item). It cannot handle NS, MX or other DNS RRs.

Set it up like this, to be able to maintain less common DNS RRs in the zone
file directly, while still getting the bulk of your data from HOSTDB :

Zone file that BIND reads (e.g. /var/named/master/ :

  ; $Id:,v 1.126 2009-08-19 13:06:45 nn Exp $

  $INCLUDE /var/named/zonedata/

  $ORIGIN                   IN      NS                   IN      NS                   IN      NS                   IN      MX      10

Now generate the /var/named/zonedata/ file with data from the
HOSTDB database using the command 'generate-zonefiles'. Note that HOSTDB
will generate a SOA record for you, and automatically manage the SOA serial.

DHCP can be set up in a similar fashion.


Combined DNS and DHCP host management tool used at Stockholm university







No releases published


No packages published