Difference between revisions of "NAD810-rootDNS-VM"

From CDOT Wiki
Jump to: navigation, search
(Created page with '= Root Name Server for the mini-Internet = * One or more root name server * Each student run their own Primary Name server for their own domain == Main BIND configuration file o...')
(No difference)

Revision as of 21:01, 31 March 2009

Root Name Server for the mini-Internet

  • One or more root name server
  • Each student run their own Primary Name server for their own domain

Main BIND configuration file on the root name server

Modify the default "." zone defination to:

zone "." IN {
       type master;
       file "zone.root"; 
};

The zone.root file should delegate each student's domain to their Primary Name server

$TTL    86400
@               IN SOA  localhost root.localhost (
                                       42              ; serial (d. adams)
                                       3H              ; refresh
                                       15M             ; retry
                                       1W              ; expiry
                                       1D )            ; minimum
                IN NS           lhost.
lhost           IN A            172.16.54.254
pod1.com.       IN NS           ns.pod1.com.
ns.pod1.com.    IN A            192.168.0.203
pod2.com.       IN NS           ns.pod2.com.
ns.pod2.com.    IN A            192.168.0.102
pod3.com.       IN NS           ns.pod3.com.
ns.pod3.com.    IN A            192.168.0.103
pod4.com.       IN NS           ns.pod4.com.
ns.pod4.com.    IN A            192.168.0.104
pod5.com.       IN NS           ns.pod5.com.
ns.pod5.com.    IN A            192.168.0.105
pod6.com.       IN NS           ns.pod6.com.
ns.pod6.com.    IN A            192.168.0.106
pod7.com.       IN NS           ns.pod7.com.
ns.pod7.com.    IN A            192.168.0.107
pod8.com.       IN NS           ns.pod8.com.
ns.pod8.com.    IN A            192.168.0.108
pod8.com.       IN NS           sns.pod8.com.
sns.pod8.com.   IN A            192.168.1.8