DNS

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(increment SOA!)
Line 7: Line 7:
 
; /var/named/master/wikimedia.zone : This is the list of names available externally under *.wikimedia.org
 
; /var/named/master/wikimedia.zone : This is the list of names available externally under *.wikimedia.org
  
Edit one of these files on zwinger, and then restart with <tt>/etc/init.d/named restart</tt>.
+
Edit one of these files on zwinger, '''not forgetting to increment the SOA''', and then restart with <tt>/etc/init.d/named restart</tt>.
  
 
==Zones==
 
==Zones==

Revision as of 15:01, 9 May 2005

Larousse, albert and zwinger are listed as authoritative name servers for *.pmtpa.wmnet. Larousse and zwinger are running PowerDNS. All three are running named. (BIND? version?)

Important files

/var/named/master/wmnet.zone 
This is the internal zone, it's the equivalent of /etc/hosts before we massacred that file
/var/named/master/wikimedia.zone 
This is the list of names available externally under *.wikimedia.org

Edit one of these files on zwinger, not forgetting to increment the SOA, and then restart with /etc/init.d/named restart.

Zones

*.pmtpa.wmnet 
10/8 addresses valid within our Tampa network
*.lopar.wmnet 
10/8 addresses valid within our Paris network
*.wikimedia.org 
Assorted external addresses from Tampa and Paris.

resolv.conf in Florida is set up to search *.pmtpa.wmnet then *.wikimedia.org. So if a machine does not have an internal address, the resolver automatically tries for an external address.

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox