DNS

From Wikitech
(Difference between revisions)
Jump to: navigation, search
m
Line 1: Line 1:
[[Larousse]], [[albert]] and [[zwinger]] are listed as authoritative name servers for *.pmtpa.wmnet. Larousse and zwinger are running [[PowerDNS]]. [[Albert]] doesn't seem to be running any DNS server.
+
[[Larousse]], [[albert]] and [[zwinger]] are listed as authoritative name servers for *.pmtpa.wmnet. Larousse and zwinger are running [[PowerDNS]]. All three are running named.
 
+
* The main configuration file for pdns is at /usr/local/etc/pdns.conf . It's not very useful.
+
* According to the conf file there's a log, but actually there isn't
+
* Country-specific configuration is in /usr/local/etc/pdns.geomap . This maps hostnames to rr.chtpa (Tampa) rr.lopar or (Paris)
+
* The PDNS manual contains a lot of misdirection. Most likely the file you want to edit is in zwinger:/var/named/master
+
* We appear to be using a [http://downloads.powerdns.com/documentation/html/bindbackend.html bind zone file backend] in addition to geodns.
+
  
 
==Important files==
 
==Important files==
Line 12: Line 6:
 
; /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, and then restart pdns with <tt>/etc/init.d/pdns restart</tt>. Larousse seems to be configured as a chrooted slave, I don't think you need to update it manually.
+
Edit one of these files on zwinger, and then restart with <tt>/etc/init.d/named restart</tt>.

Revision as of 09: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.

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox