PPP - Pedantic PPP Primer : Exercises for the Interested Student : Creating a mini-DNS system
Previous: Exercises for the Interested Student
Next: The /etc/namedb/named.boot file

7.1. Creating a mini-DNS system

While managing a Domain Name Service (DNS) hierarchy can be a black art, it is possible to set up a Mini-DNS server on the FreeBSD system that also acts as your gateway to your ISP.

Building on the files in /etc/namedb when the FreeBSD system was installed it's possible to create a name server that is both authoritative for the example network shown here as well as a front-door to the Internet DNS architecture.

In this minimal DNS configuration, only three files are necessary:

/etc/namedb/named.boot
/etc/namedb/named.root
/etc/namedb/mydomain.db

The /etc/namedb/named.root file is automatically installed as part of the FreeBSD base installation; the other two files must be created manually.

7.1.1. The /etc/namedb/named.boot file

7.1.2. The /etc/namedb/mydomain.db file

7.1.3. Starting the DNS Server


PPP - Pedantic PPP Primer : Exercises for the Interested Student : Creating a mini-DNS system
Previous: Exercises for the Interested Student
Next: The /etc/namedb/named.boot file