DNS

From Wikitech
Revision as of 08:52, 27 February 2005 by Tim (Talk)

Jump to: navigation, search

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