DNS
From Wikitech
(Difference between revisions)
(observations) |
|||
| Line 1: | Line 1: | ||
| − | [[Larousse]], [[albert]] and [[zwinger]] are listed as authoritative name servers for *.pmtpa.wmnet. Larousse and zwinger are running [[PowerDNS]] | + | [[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 | + | * 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 | * 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 | ||
| + | |||
| + | ==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 <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. | ||
Revision as of 08:32, 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
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.