Difference between revisions of "NAD810-rootDNS-VM"
(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...') |
(→Root Name Server for the mini-Internet) |
||
Line 2: | Line 2: | ||
* One or more root name server | * One or more root name server | ||
* Each student run their own Primary Name server for their own domain | * Each student run their own Primary Name server for their own domain | ||
+ | ** Domain: pod1.com, Priamry Name Server: ns.pod1.com - 192.168.0.203 | ||
+ | ** Domain: pod2.com, Primary Name Server: ns.pod2.com - 192.168.0.102 | ||
+ | ** Doamin: pod3.com, Primary Name Server: ns.pod3.com - 192.168.0.103 | ||
+ | ** Domain: pod4.com, Primary Name Server: ns.pod4.com - 192.168.0.104 | ||
+ | ** Domain: pod5.com, Primary Name Server: ns.pod5.com - 192.168.0.105 | ||
+ | ** Domain: pod6.com, Primary Name Server: ns.pod6.com - 192.168.0.106 | ||
+ | ** Domain: pod7.com, Primary Name Server: ns.pod7.com - 192.168.0.107 | ||
+ | ** Domain: pod8.com, Primary Name Server: ns.pod8.com - 192.168.0.108 | ||
+ | ** Domain: pod8.com, Seconday Name Server: sns.pod8.com - 192.168.1.8 | ||
== Main BIND configuration file on the root name server == | == Main BIND configuration file on the root name server == |
Latest revision as of 21:06, 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
- Domain: pod1.com, Priamry Name Server: ns.pod1.com - 192.168.0.203
- Domain: pod2.com, Primary Name Server: ns.pod2.com - 192.168.0.102
- Doamin: pod3.com, Primary Name Server: ns.pod3.com - 192.168.0.103
- Domain: pod4.com, Primary Name Server: ns.pod4.com - 192.168.0.104
- Domain: pod5.com, Primary Name Server: ns.pod5.com - 192.168.0.105
- Domain: pod6.com, Primary Name Server: ns.pod6.com - 192.168.0.106
- Domain: pod7.com, Primary Name Server: ns.pod7.com - 192.168.0.107
- Domain: pod8.com, Primary Name Server: ns.pod8.com - 192.168.0.108
- Domain: pod8.com, Seconday Name Server: sns.pod8.com - 192.168.1.8
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