Difference between revisions of "BXadmin:DNS"

From CCGB
Jump to: navigation, search
(Created page with 'DNS configuration is stored in '''/afs/bx.psu.edu/service/dns''' more to come later')
 
Line 1: Line 1:
 
DNS configuration is stored in '''/afs/bx.psu.edu/service/dns'''
 
DNS configuration is stored in '''/afs/bx.psu.edu/service/dns'''
  
more to come later
+
Production data is stored under '''prod/'''
 +
 
 +
Each dns server (ns1, ns2, ns3) runs a script every minute that creates a new PAG, gets a kerberos ticket, afs token, and then runs '''/afs/bx.psu.edu/service/dns/scripts/cron-update-dns.sh'''. This copies over ''named.conf'', and rsyncs the zone files, performing an ''rndc reload'' only if necessary.
 +
 
 +
'''/afs/bx.psu.edu/service/dns/scripts/export-to-prod.sh''' is used to perform a ''git pull'' under ''prod/'', then releases the svc.dns volume.
 +
 
 +
To make changes to dns:
 +
 
 +
* git clone /afs/.bx.psu.edu/service/dns/bxdns.git
 +
* make changes
 +
* git commit
 +
* git push
 +
* /afs/bx.psu.edu/service/dns/scripts/export-to-prod.sh

Revision as of 11:11, 14 June 2010

DNS configuration is stored in /afs/bx.psu.edu/service/dns

Production data is stored under prod/

Each dns server (ns1, ns2, ns3) runs a script every minute that creates a new PAG, gets a kerberos ticket, afs token, and then runs /afs/bx.psu.edu/service/dns/scripts/cron-update-dns.sh. This copies over named.conf, and rsyncs the zone files, performing an rndc reload only if necessary.

/afs/bx.psu.edu/service/dns/scripts/export-to-prod.sh is used to perform a git pull under prod/, then releases the svc.dns volume.

To make changes to dns:

  • git clone /afs/.bx.psu.edu/service/dns/bxdns.git
  • make changes
  • git commit
  • git push
  • /afs/bx.psu.edu/service/dns/scripts/export-to-prod.sh