DNS

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(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)
Line 4: Line 4:
  
 
; /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/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
 
; /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, and then restart with <tt>/etc/init.d/named restart</tt>.
 +
 +
==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 Florida.
 +
 +
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.

Revision as of 10:25, 27 February 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.

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, 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 Florida.

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