Difference between revisions of "Dns Management"

From CSLabsWiki
m
m (added how to push changes)
Line 3: Line 3:
   
 
==Where are the files?==
 
==Where are the files?==
The files you need to edit are in ''/var/named/''. They link to corresponding files in ''/var/named/chroot/var/named/''. You need to be root to edit these files.
+
The files you need to edit are in ''/var/named/'' on DNS1. They link to corresponding files in ''/var/named/chroot/var/named/''. You need to be root to edit these files.
   
 
==What needs to be changed?==
 
==What needs to be changed?==
 
===cslabs.clarkson.edu.zone===
 
===cslabs.clarkson.edu.zone===
  +
<code><pre>
 
  +
game IN A 128.153.145.36
===145.153.128.in-addr.arpa===
 
  +
tremulous IN CNAME game
 
  +
</pre></code>
 
==What should not be changed?==
 
===cslabs.clarkson.edu.zone===
 
 
===145.153.128.in-addr.arpa===
 
===145.153.128.in-addr.arpa===
  +
<code><pre>
  +
3 IN PTR dns1.cslabs.clarkson.edu.
  +
</pre></code>
  +
==How to push the changes to DNS2==
  +
Make sure that the serial# has been changed in any edited files. Then run '''rndc reload'''.

Revision as of 20:42, 27 September 2011

Introduction

A DNS server manages name resolution of computers on a subdomain. For example, going to docs.cslabs.clarkson.edu you are using clarkson.edu's DNS server to find the ip address of cslabs. This would be the CSLabs' DNS server. Now we use the CSLabs' DNS server to find the ip address of docs.

Where are the files?

The files you need to edit are in /var/named/ on DNS1. They link to corresponding files in /var/named/chroot/var/named/. You need to be root to edit these files.

What needs to be changed?

cslabs.clarkson.edu.zone

game            IN      A       128.153.145.36
tremulous       IN      CNAME   game

145.153.128.in-addr.arpa

3       IN      PTR     dns1.cslabs.clarkson.edu.

How to push the changes to DNS2

Make sure that the serial# has been changed in any edited files. Then run rndc reload.