Installing Bind

Install the bind9 server package on your a virtual machine. The MI department has already set up a DNS service for But regarding upcoming exercises we want to be able configuring private host aliases.

Consider the example virtual machine / hosting a DNS server. It should provide at least the following data:

Primary name server for domain

Host name. and

CNAME aliases.

All host names (albeit not yet existing) should point to your virtual machine's IP. This requires setting up a forward zone file.


  1. The named-checkzone command helps you to check for your two zone files' correctness

  2. The named-checkconf command checks for your configuration's overall correctness.

  3. You may use the nslookup command to query your DNS server. The set type=ns option allows to query for the domain's primary name server.

Test your configuration using dig @<your host-IP> ... . You should be able to resolve e.g. to your local host's IP address.

Define an alternate name (alias) info to www serving as and check this address as well.