oldelvet/infra-puppet — pull request #1 by oldelvet (2011-12-29 11:22:50+00:00)
Title: Anchor fully qualified domain names to the root zone

The SOA and lists.jenkins-ci.org mx records are not anchored to the root zone and hence a lookup against the server gives the wrong values.

richm@royalcounty:/etc/bind$ dig lists.jenkins-ci.org mx @ns1.jenkins-ci.org.

; <<>> DiG 9.7.0-P1 <<>> lists.jenkins-ci.org mx @ns1.jenkins-ci.org.
...
;; ANSWER SECTION:
lists.jenkins-ci.org.	3600	IN	MX	0 smtp1.osuosl.org.jenkins-ci.org.
lists.jenkins-ci.org.	3600	IN	MX	0 smtp2.osuosl.org.jenkins-ci.org.
lists.jenkins-ci.org.	3600	IN	MX	0 smtp3.osuosl.org.jenkins-ci.org.
lists.jenkins-ci.org.	3600	IN	MX	0 smtp4.osuosl.org.jenkins-ci.org.
...

Testing the fixed file on my local bind server gives

richm@royalcounty:/etc/bind$ dig lists.jenkins-ci.org mx @192.168.1.14

; <<>> DiG 9.7.0-P1 <<>> lists.jenkins-ci.org mx @192.168.1.14
...
;; ANSWER SECTION:
lists.jenkins-ci.org.	3600	IN	MX	0 smtp4.osuosl.org.
lists.jenkins-ci.org.	3600	IN	MX	0 smtp1.osuosl.org.
lists.jenkins-ci.org.	3600	IN	MX	0 smtp2.osuosl.org.
lists.jenkins-ci.org.	3600	IN	MX	0 smtp3.osuosl.org.

Similar for SOA records

jenkins-ci.org.	3600	IN	SOA	ns1.jenkins-ci.org.jenkins-ci.org. tyler.monkeypox.org.jenkins-ci.org. 2011120401 28800 7200 604800 3600

vs fixed

jenkins-ci.org.	3600	IN	SOA	ns1.jenkins-ci.org. tyler.monkeypox.org. 2011122901 28800 7200 604800 3600