<%- # nodes list defined in puppet/manifests/nodes_ip.pp nodes = scope.lookupvar('::nodes_ipaddr') -%> ; puppet-distributed file ; local modifications will be lost ; $Id$ $TTL 30m @ IN SOA ns0.mageia.org. root.mageia.org. ( 2024103001 ; Serial 7200 ; Refresh 3600 ; Retry 3600000 ; Expire 300 ; Minimum TTL ) ; nameservers @ IN NS ns0.mageia.org. @ IN NS ns1.mageia.org. @ IN MX 10 sucuk.mageia.org. @ IN MX 20 neru.mageia.org. ; DKIM for mageia.org sucuk._domainkey IN TXT "v=DKIM1; k=rsa; t=s; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGH25Jb2Al84XlTfSWuqZL8f6K6b+QhJjvV3zbF1/t31WmLwEt0So+p3FbFeKmaq/e0nJ+wKteTSVZsl3xwux+MaARKJDpEXslEgy+ojCedWqqpP6xLUjPuYPimGPljwkLwDoJxwvjiLa2POebec7C+R/nzaGm2nnTFwYQomqlvQIDAQAB" sucuk._domainkey.group IN TXT "v=DKIM1; k=rsa; t=s; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBRrdmAaYpDBHCtzkephaLX9LrMFJvgq84dS0ogTIb0xD32qxQF69FU/gEUlfTjzJooTJQC3PK7R3oLnfoWttMlbHCGg/llSfoSI0gD/4UolZokzWZY3qdqMz+zKi9+bfjz0y4Fwx5EPyda1ihHhVB6c+wq6cekhDNOH8PHhO74QIDAQAB" sucuk._domainkey.duvel IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHYgFMZTHMYlymX0WJ17ZvgchABE+5O/c6np1gj5sBV2BPIJGs+h/i+Iq6jLYVhSOWEI+6wQKza/8r3Vr4ddi3/UPDzllfqMnKsbPHC/LscyIkQmpNiO2n0nIUhKbuVU1SsRC1B8svO9iNmEjg33/lrLiaV3DtDbGr0ozmBmeFVwIDAQAB" sucuk._domainkey.fiona IN TXT "v=DKIM1; k=rsa; p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G5dEd0CHAYGPRG+OXm2gJTDVpjmsKkn5+4BISToAOXXyogRcJN/P6oPySlG+CyUl5PW/2nBIiiUfHNKxVSa9gPO3vS0nlEppSHulkhth4deNu8YXRgJQp31IgaD0/Cbu7CKcDJbxTKGdnMV7XPKoIxB/Mjn0TxUS+WC2WY6QIDAQAB" sucuk._domainkey.sucuk IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDdzn4W4Tl4sJ0pfhktNVlWRYFXnIwaMENqmi2vgc/P8M/zVxysVuWPcEwhy+IiVT8tMleXMt9dreErzJS+8ZmMd8oTqRXM55ZzRuBtqiecKnbIrXpecYUhh+2o0BMouTRHZvrPK5PV6Y2PrXkXwLF8qOS/eslZDk7hLRk2XBVDWwIDAQAB" sucuk._domainkey.ml IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4uPUsb1kvNCXT1AsEBldhU/9akmeRrRHOQtI8g60K+y2fRRur5l+TJDZ/+bnyVS69AMhyfeWEaWGhQytvmkKZBQyHZ6JzS2him+HT/x7xCYOHlQ5vixy0t4jYqbYZ04pdokJ4jcJ3pU7CFisgzk2Ln7HA4JDD1Dc+kCYbOvivtQIDAQAB" sucuk._domainkey.neru IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4uPUsb1kvNCXT1AsEBldhU/9akmeRrRHOQtI8g60K+y2fRRur5l+TJDZ/+bnyVS69AMhyfeWEaWGhQytvmkKZBQyHZ6JzS2him+HT/x7xCYOHlQ5vixy0t4jYqbYZ04pdokJ4jcJ3pU7CFisgzk2Ln7HA4JDD1Dc+kCYbOvivtQIDAQAB" ; TODO use a loop here ml IN MX 10 sucuk.mageia.org. ml IN MX 20 neru.mageia.org. ; Sender Policy Framework for mailing lists & some automated mails ml IN TXT "v=spf1 mx ~all" group IN TXT "v=spf1 mx ~all" group IN MX 10 sucuk.mageia.org. group IN MX 20 neru.mageia.org. ; machines <%- nodes_txt = '' nodes.keys.sort.each{|nodename| spf = '' if nodes[nodename].has_key?('ipv4') nodes_txt += nodename + ' IN A ' + nodes[nodename]['ipv4'] + "\n" spf += ' ip4:' + nodes[nodename]['ipv4'] end if nodes[nodename].has_key?('ipv6') nodes_txt += nodename + ' IN AAAA ' + nodes[nodename]['ipv6'] + "\n" spf += ' ip6:' + nodes[nodename]['ipv6'] end nodes_txt += nodename + ' IN TXT "v=spf1 ' + spf + ' mx:mageia.org ~all" ' + "\n" } -%> <%= nodes_txt %> ;SSHFP ; sucuk ns0 IN A <%= nodes['sucuk']['ipv4'] %> ns0 IN AAAA <%= nodes['sucuk']['ipv6'] %> ; neru ns1 IN A <%= nodes['neru']['ipv4'] %> ns1 IN AAAA <%= nodes['neru']['ipv6'] %> ; mageia.org set to IP of neru mageia.org. IN A <%= nodes['neru']['ipv4'] %> mageia.org. IN AAAA <%= nodes['neru']['ipv6'] %> ; madb on mageia.madb.org madb 300 IN A 163.172.201.211 ; since we have a subdomain, we cannot use a CNAME ml IN A <%= nodes['sucuk']['ipv4'] %> ml IN AAAA <%= nodes['sucuk']['ipv6'] %> ; aliases ldap-slave-1 IN CNAME neru archives IN CNAME neru blog IN CNAME neru dashboard IN CNAME neru doc IN CNAME neru hugs IN CNAME neru meetbot IN CNAME neru planet IN CNAME neru releases IN CNAME neru start IN CNAME neru static IN CNAME neru www-test IN CNAME neru rsync IN CNAME duvel svn IN CNAME duvel git IN CNAME duvel puppetmaster IN CNAME duvel puppet IN CNAME duvel pkgsubmit IN CNAME duvel binrepo IN CNAME duvel repository IN CNAME duvel maintdb IN CNAME duvel ldap IN CNAME duvel ldap-master IN CNAME duvel advisories IN CNAME duvel projects IN CNAME duvel bcd IN CNAME rabbit epoll IN CNAME sucuk forums IN CNAME sucuk forum IN CNAME sucuk send IN CNAME sucuk bugs IN CNAME sucuk check IN CNAME sucuk gitweb IN CNAME sucuk identity IN A <%= nodes['sucuk']['ipv4'] %> identity-trunk IN CNAME sucuk mirrors IN CNAME sucuk nav IN CNAME sucuk people IN CNAME sucuk perl IN CNAME sucuk pg IN CNAME sucuk pkgcpan IN CNAME sucuk svnweb IN CNAME sucuk treasurer IN CNAME sucuk wiki IN CNAME sucuk www IN CNAME sucuk xymon IN CNAME sucuk ; build nodes aliases ecosse0 IN CNAME ecosse ecosse1 IN CNAME ecosse rabbit0 IN CNAME rabbit rabbit1 IN CNAME rabbit rabbit2 IN CNAME rabbit ec2aa1-a IN CNAME ec2aa1 ec2aa1-b IN CNAME ec2aa1 ec2aa2-a IN CNAME ec2aa2 ec2aa2-b IN CNAME ec2aa2 ec2aa3-a IN CNAME ec2aa3 ec2aa3-b IN CNAME ec2aa3 ec2x1-a IN CNAME ec2x1 ec2x1-b IN CNAME ec2x1 ec2x2-a IN CNAME ec2x2 ec2x2-b IN CNAME ec2x2 pktaa1-a IN CNAME pktaa1 pktaa1-b IN CNAME pktaa1 pktaa1-c IN CNAME pktaa1 pktaa1-d IN CNAME pktaa1 pktaa1-e IN CNAME pktaa1 pktaa1-f IN CNAME pktaa1 ociaa1-a IN CNAME ociaa1 ociaa1-b IN CNAME ociaa1 ociaa1-c IN CNAME ociaa1 ociaa2-a IN CNAME ociaa2 ociaa2-b IN CNAME ociaa2 ociaa2-c IN CNAME ociaa2 <%# vim: set filetype=bindzone : -%>