DNS

From Wikitech
(Difference between revisions)
Jump to: navigation, search
m
Line 5: Line 5:
 
* Country-specific configuration is in /usr/local/etc/pdns.geomap . This maps hostnames to rr.chtpa (Tampa) rr.lopar or (Paris)
 
* 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
 
* 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==

Revision as of 08:52, 27 February 2005

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.

  • 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 bind zone file backend in addition to geodns.

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, and then restart pdns with /etc/init.d/pdns restart. Larousse seems to be configured as a chrooted slave, I don't think you need to update it manually.

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox