conteneurisation des DNS (2 versions de Dockerfile)
This commit is contained in:
35
dns-v2/Dockerfile.primary
Normal file
35
dns-v2/Dockerfile.primary
Normal file
@@ -0,0 +1,35 @@
|
||||
FROM debian:trixie-slim
|
||||
|
||||
# install make for building config files, pdns-server and bind backend for serving zones
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
make \
|
||||
pdns-server pdns-backend-bind pdns-backend-sqlite3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# install configuration files, create necessary directories
|
||||
WORKDIR /etc/powerdns
|
||||
RUN rm -rf pdns.d && rm -f named.conf
|
||||
RUN mkdir -p db pdns.d /var/run/pdns
|
||||
COPY pdns.conf pdns.conf
|
||||
COPY zones pri
|
||||
|
||||
# build additional config files from templates (tpl)
|
||||
COPY primary tpl
|
||||
COPY primary/Makefile .
|
||||
RUN make
|
||||
|
||||
# cleanup
|
||||
RUN rm -rf tpl Makefile
|
||||
|
||||
# User permissions (pdns)
|
||||
RUN chown pdns db /var/run/pdns
|
||||
|
||||
# DNSSEC (primary only)
|
||||
USER pdns
|
||||
RUN pdnsutil create-bind-db /etc/powerdns/db/bind-dnssec-db.sqlite3
|
||||
RUN pdnsutil secure-all-zones
|
||||
RUN cd pri && for i in *; do pdnsutil set-nsec3 $i "1 1 5 $(od -N16 -x < /dev/urandom | head -n1 | cut -b9- | sed 's/ //gi')"; done
|
||||
RUN pdnsutil rectify-all-zones
|
||||
|
||||
CMD ["pdns_server", "--guardian=no", "--daemon=no", "--loglevel=10", "--webserver=no"]
|
||||
42
dns-v2/Dockerfile.secondary
Normal file
42
dns-v2/Dockerfile.secondary
Normal file
@@ -0,0 +1,42 @@
|
||||
# this stage prepares the configuration files in /etc/powerdns
|
||||
FROM debian:trixie-slim AS builder
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends make
|
||||
|
||||
WORKDIR /etc/powerdns
|
||||
RUN mkdir -p pdns.d
|
||||
|
||||
COPY pdns.conf pdns.conf
|
||||
|
||||
# build some config files from templates
|
||||
COPY zones pri
|
||||
COPY secondary tpl
|
||||
COPY secondary/Makefile .
|
||||
RUN make
|
||||
|
||||
RUN rm -rf tpl pri Makefile
|
||||
|
||||
# this stage is the actual secondary DNS server image
|
||||
FROM debian:trixie-slim
|
||||
|
||||
# install make for building config files, pdns-server and bind backend for serving zones
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
pdns-server pdns-backend-bind pdns-backend-sqlite3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# install configuration files, create necessary directories
|
||||
WORKDIR /etc/powerdns
|
||||
RUN rm -rf *
|
||||
COPY --from=builder /etc/powerdns .
|
||||
RUN mkdir -p db sec /var/run/pdns
|
||||
|
||||
# user permissions
|
||||
RUN chown pdns db sec /var/run/pdns
|
||||
USER pdns
|
||||
|
||||
# DNSSEC setup
|
||||
RUN pdnsutil create-bind-db /etc/powerdns/db/bind-dnssec-db.sqlite3
|
||||
|
||||
CMD ["pdns_server", "--guardian=no", "--daemon=no", "--loglevel=10", "--webserver=no"]
|
||||
5
dns-v2/README.md
Normal file
5
dns-v2/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# DNS
|
||||
|
||||
Ce répertoire contient des configurations et des fichiers Docker pour déployer des serveurs DNS primaires et secondaires en utilisant PowerDNS avec le backend BIND.
|
||||
|
||||
Le fichier `docker-compose.yml` est fournit à titre d'exemple.
|
||||
34
dns-v2/docker-compose.yml
Normal file
34
dns-v2/docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
services:
|
||||
primary:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.primary
|
||||
ports:
|
||||
- "5300:53/tcp"
|
||||
- "5300:53/udp"
|
||||
networks:
|
||||
dnsnet:
|
||||
ipv4_address: 129.18.0.42
|
||||
secondary1:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.secondary
|
||||
ports:
|
||||
- "5301:53/tcp"
|
||||
- "5301:53/udp"
|
||||
networks:
|
||||
dnsnet:
|
||||
ipv4_address: 129.18.0.43
|
||||
secondary2:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.secondary
|
||||
ports:
|
||||
- "5302:53/tcp"
|
||||
- "5302:53/udp"
|
||||
networks:
|
||||
dnsnet:
|
||||
ipv4_address: 129.18.0.45
|
||||
networks:
|
||||
dnsnet:
|
||||
external: true
|
||||
18
dns-v2/pdns.conf
Normal file
18
dns-v2/pdns.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
config-dir=/etc/powerdns
|
||||
include-dir=/etc/powerdns/pdns.d
|
||||
|
||||
daemon=no
|
||||
guardian=no
|
||||
|
||||
local-address=0.0.0.0
|
||||
|
||||
setgid=pdns
|
||||
setuid=pdns
|
||||
|
||||
version-string=powerdns
|
||||
|
||||
security-poll-suffix=
|
||||
|
||||
launch=bind
|
||||
bind-config=/etc/powerdns/bindbackend.conf
|
||||
44
dns-v2/primary/Makefile
Normal file
44
dns-v2/primary/Makefile
Normal file
@@ -0,0 +1,44 @@
|
||||
##############################################################################
|
||||
##
|
||||
## PowerDNS configuration
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Hosts
|
||||
|
||||
# svoboda, yuuai
|
||||
# SECONDARY_IPS = 129.104.30.37 129.104.30.32
|
||||
SECONDARY_IPS = 129.18.0.43 129.18.0.45
|
||||
|
||||
#############################################################################
|
||||
#
|
||||
# Computed variables
|
||||
#
|
||||
|
||||
GENERATED = bindbackend.conf pdns.d/main.conf
|
||||
|
||||
DOMAINS := $(patsubst pri/%,%,$(wildcard pri/*))
|
||||
|
||||
#############################################################################
|
||||
#
|
||||
# Rules
|
||||
#
|
||||
|
||||
all: $(GENERATED)
|
||||
.PHONY: all
|
||||
|
||||
clean:
|
||||
$(RM) $(GENERATED)
|
||||
.PHONY: clean
|
||||
|
||||
bindbackend.conf: tpl/bindbackend.conf.template
|
||||
$(RM) $@
|
||||
set -e; \
|
||||
for fqdn in $(DOMAINS); do \
|
||||
sed -e "s/@@FQDN@@/$$fqdn/" $< >> $@ ; \
|
||||
done
|
||||
|
||||
pdns.d/main.conf: tpl/main.conf.template
|
||||
sed -e "s/@@SECONDARY_IPS@@/$(SECONDARY_IPS)/" $< > $@
|
||||
|
||||
$(GENERATED): Makefile
|
||||
4
dns-v2/primary/bindbackend.conf.template
Normal file
4
dns-v2/primary/bindbackend.conf.template
Normal file
@@ -0,0 +1,4 @@
|
||||
zone "@@FQDN@@" {
|
||||
type primary;
|
||||
file "/etc/powerdns/pri/@@FQDN@@";
|
||||
};
|
||||
9
dns-v2/primary/main.conf.template
Normal file
9
dns-v2/primary/main.conf.template
Normal file
@@ -0,0 +1,9 @@
|
||||
# Here come the local changes the user made, like configuration of
|
||||
# the several backends that exist.
|
||||
|
||||
primary=yes
|
||||
|
||||
disable-axfr=no
|
||||
allow-axfr-ips=@@SECONDARY_IPS@@
|
||||
|
||||
bind-dnssec-db=/etc/powerdns/db/bind-dnssec-db.sqlite3
|
||||
45
dns-v2/secondary/Makefile
Normal file
45
dns-v2/secondary/Makefile
Normal file
@@ -0,0 +1,45 @@
|
||||
##############################################################################
|
||||
##
|
||||
## PowerDNS configuration
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Hosts
|
||||
|
||||
# ozgurluk
|
||||
# PRIMARY_IP = 5.196.91.229
|
||||
PRIMARY_IP = 129.18.0.42
|
||||
|
||||
#############################################################################
|
||||
#
|
||||
# Computed variables
|
||||
#
|
||||
|
||||
GENERATED = bindbackend.conf pdns.d/main.conf
|
||||
|
||||
DOMAINS := $(patsubst pri/%,%,$(wildcard pri/*))
|
||||
|
||||
#############################################################################
|
||||
#
|
||||
# Rules
|
||||
#
|
||||
|
||||
all: $(GENERATED)
|
||||
.PHONY: all
|
||||
|
||||
clean:
|
||||
$(RM) $(GENERATED)
|
||||
.PHONY: clean
|
||||
|
||||
bindbackend.conf: tpl/bindbackend.conf.template
|
||||
$(RM) $@
|
||||
set -e; \
|
||||
for fqdn in $(DOMAINS); do \
|
||||
sed -e "s/@@FQDN@@/$$fqdn/" \
|
||||
-e "s/@@PRIMARY_IP@@/$(PRIMARY_IP)/" $< >> $@ ; \
|
||||
done
|
||||
|
||||
pdns.d/main.conf: tpl/main.conf
|
||||
sed -e "s/@@SECONDARY_IPS@@/$(SECONDARY_IPS)/" $< > $@
|
||||
|
||||
$(GENERATED): Makefile
|
||||
7
dns-v2/secondary/bindbackend.conf.template
Normal file
7
dns-v2/secondary/bindbackend.conf.template
Normal file
@@ -0,0 +1,7 @@
|
||||
zone "@@FQDN@@" {
|
||||
type secondary;
|
||||
file "/etc/powerdns/sec/@@FQDN@@";
|
||||
primaries {
|
||||
@@PRIMARY_IP@@;
|
||||
};
|
||||
};
|
||||
6
dns-v2/secondary/main.conf
Normal file
6
dns-v2/secondary/main.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
secondary=yes
|
||||
|
||||
disable-axfr=yes
|
||||
|
||||
bind-dnssec-db=/etc/powerdns/db/bind-dnssec-db.sqlite3
|
||||
28
dns-v2/zones/blog-x.org
Normal file
28
dns-v2/zones/blog-x.org
Normal file
@@ -0,0 +1,28 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
blog-x.org. 86400 IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2015090701 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
A 91.121.62.108 ; Failover OVH #2 (web + ssl)
|
||||
MX 5 mx1.polytechnique.org.
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 10 mx3.polytechnique.org.
|
||||
|
||||
|
||||
$ORIGIN blog-x.org.
|
||||
|
||||
; Blog hosting.
|
||||
chti CNAME blog.polytechnique.org.
|
||||
polydees CNAME blog.polytechnique.org.
|
||||
x-auteurs CNAME blog.polytechnique.org.
|
||||
x-memorial CNAME blog.polytechnique.org.
|
||||
dev CNAME dev.polytechnique.org.
|
||||
|
||||
; vim:set sts=8 et:
|
||||
18
dns-v2/zones/carva.org
Normal file
18
dns-v2/zones/carva.org
Normal file
@@ -0,0 +1,18 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
carva.org. IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2014050401 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
A 129.104.30.37
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
|
||||
$ORIGIN carva.org.
|
||||
www A 129.104.30.37
|
||||
43
dns-v2/zones/m4x.fr
Normal file
43
dns-v2/zones/m4x.fr
Normal file
@@ -0,0 +1,43 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
m4x.fr. 86400 IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2016082201 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
A 129.104.30.35
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
; Main SPF records.
|
||||
TXT "v=spf1 include:spf.polytechnique.org ?all"
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org ?all"
|
||||
|
||||
$ORIGIN m4x.fr.
|
||||
|
||||
; Our very own machines.
|
||||
yuuai A 129.104.30.32
|
||||
djali A 129.104.30.36
|
||||
murphy A 129.104.30.33
|
||||
tikrinti A 129.104.30.31
|
||||
ozgurluk A 91.121.62.108 ; Failover OVH #2 (web + ssl)
|
||||
oz CNAME ozgurluk
|
||||
svoboda A 129.104.30.37
|
||||
svob CNAME svoboda
|
||||
kiireessa A 129.104.30.31
|
||||
kir CNAME kiireessa
|
||||
|
||||
; Our MXs, with theirs SPF entries.
|
||||
mx1 A 129.104.30.34 ; djali
|
||||
mx2 A 129.104.30.35 ; yuuai
|
||||
mx3 A 91.121.62.107 ; oz Failover OVH #1 (mails)
|
||||
mx4 A 129.104.30.37 ; svob
|
||||
bounces MX 0 mx2.polytechnique.org.
|
||||
MX 0 mx3.polytechnique.org.
|
||||
TXT "v=spf1 include:spf.polytechnique.org +mx -all"
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org +mx -all"
|
||||
|
||||
159
dns-v2/zones/m4x.org
Normal file
159
dns-v2/zones/m4x.org
Normal file
@@ -0,0 +1,159 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
m4x.org. 86400 IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2022061601 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
A 129.104.30.35
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
; Main SPF records.
|
||||
TXT "v=spf1 include:spf.polytechnique.org ?all"
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org ?all"
|
||||
|
||||
$ORIGIN m4x.org.
|
||||
|
||||
; Our very own machines.
|
||||
yuuai A 129.104.30.32
|
||||
djali A 129.104.30.36
|
||||
murphy A 129.104.30.33
|
||||
tikrinti A 129.104.30.31
|
||||
tik CNAME tikrinti
|
||||
ozgurluk A 91.121.62.108 ; Failover OVH #2 (web + ssl)
|
||||
oz CNAME ozgurluk
|
||||
oz-v3 A 91.121.95.222
|
||||
oz-old A 91.121.22.194
|
||||
svoboda A 129.104.30.37
|
||||
svob CNAME svoboda
|
||||
kiireessa A 129.104.30.31
|
||||
kir CNAME kiireessa
|
||||
jamlikhet A 129.104.30.36
|
||||
jam CNAME jamlikhet
|
||||
|
||||
; SSHFP records
|
||||
yuuai SSHFP 1 1 204c721082892650544ddc0523dc2db43efdc2bb
|
||||
yuuai SSHFP 2 1 a3d35aa4ff3e7c2ebf8c6092f72cea3184fab877
|
||||
murphy SSHFP 1 1 586b9e11ad537f26b9714f6ac241d06b6b08bbfb
|
||||
murphy SSHFP 2 1 4edb6ce8da1bb86d5ae81eb9bc99cba7d5d0ff14
|
||||
ozgurluk SSHFP 1 1 152c4bad31455a77240280b50c28883709d1b153
|
||||
ozgurluk SSHFP 2 1 3d9a8bf0411f9cd10616a86b8a2cfc5c381599ec
|
||||
svoboda SSHFP 1 1 24b72bd78071267258d52647fc1d74571d280fe7
|
||||
svoboda SSHFP 1 2 07f663859747a7814ee3af8c5751ffb0de3fb87f731f370c6fa15a9eaf59ad89
|
||||
svoboda SSHFP 2 1 1e1983f787ca3b477cad9ce11a1b12e12562d5b4
|
||||
svoboda SSHFP 2 2 64df720ce8fc661bcabcfd668d9576f510ed75c1a2bdb585dcde6c444db93815
|
||||
svoboda SSHFP 3 1 47fde8bdd4be2e772bf12f478580ac3e818f8f51
|
||||
svoboda SSHFP 3 2 d04562b94b3ffdfea4b93afd5ce9a25d94f17123905bfc3f47b0f662f5e8fa22
|
||||
svoboda SSHFP 4 1 467611e7115d9a6fe8f1de30bfd9a3e083ff4c02
|
||||
svoboda SSHFP 4 2 5a3459f3cb0b88231f227421e283a7bff990ca58a3d5cdbfb8fc619772e0ab35
|
||||
kiireessa SSHFP 1 1 315be5fbb22e84ddd51d13d97deb1d5bb1c9fe92
|
||||
kiireessa SSHFP 1 2 82c3040782aed41cbcdeba122f17479d7652012cf9fb729ad3705e1f757416d4
|
||||
kiireessa SSHFP 2 1 ad3c4ec41a195f9ab6373c1b4e966b6c2dea9f9b
|
||||
kiireessa SSHFP 2 2 14f00841a477b8c0e2d418f1541ae2c7965c4d0d737db6622b481a138fca56b4
|
||||
kiireessa SSHFP 3 1 c087646f35ccd5180889401961a4153f7a6d4237
|
||||
kiireessa SSHFP 3 2 c2cb46515684ed7f2c5272171f22dd72805d58f4ae8dfbdebc590ddcd3f1245c
|
||||
jamlikhet SSHFP 1 1 c6ba47dff3c534cec397d2e85ba27d2a964f2d04
|
||||
jamlikhet SSHFP 1 2 aa521732d950105b7c07d1fcf363fb1404b7608d6d2ca86df3a7312e42659b38
|
||||
jamlikhet SSHFP 2 1 9b5a168ab5ee68d0b0dacce9ac15e20b673784be
|
||||
jamlikhet SSHFP 2 2 e4ad1c431f9e99cc19ecfbb0e2d59545484ba600f9dde90313e2beb97022af3c
|
||||
jamlikhet SSHFP 3 1 2211287b210fe9e6edc5d2e4df55aaf7eb7f47ca
|
||||
jamlikhet SSHFP 3 2 aab5cac9a288e8f3b5702cf192abc45db3e2725d4343945f0af8e749fbfb99a5
|
||||
jamlikhet SSHFP 4 1 300ceb7e3b9d4ec18443bf30479349db0537e279
|
||||
jamlikhet SSHFP 4 2 f7840bf91c7f08e3dfb8168342773f30acaabe7c37ed6fc7d82e66b3a41889e5
|
||||
|
||||
; Our MXs, with theirs SPF entries.
|
||||
mx1 A 129.104.30.34 ; djali
|
||||
mx2 A 129.104.30.35 ; yuuai
|
||||
mx3 A 91.121.62.107 ; oz Failover OVH #1 (mails)
|
||||
mx4 A 129.104.30.37 ; svob
|
||||
bounces MX 0 mx2.polytechnique.org.
|
||||
MX 0 mx3.polytechnique.org.
|
||||
TXT "v=spf1 include:spf.polytechnique.org +mx -all"
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org +mx -all"
|
||||
|
||||
|
||||
; Our mail domains.
|
||||
alumni A 129.104.30.37
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org include:aspmx.googlemail.com ?all"
|
||||
TXT "v=spf1 include:spf.polytechnique.org include:aspmx.googlemail.com ?all"
|
||||
master A 129.104.30.37
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org include:aspmx.googlemail.com ?all"
|
||||
TXT "v=spf1 include:spf.polytechnique.org include:aspmx.googlemail.com ?all"
|
||||
doc A 129.104.30.37
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org include:aspmx.googlemail.com ?all"
|
||||
TXT "v=spf1 include:spf.polytechnique.org include:aspmx.googlemail.com ?all"
|
||||
|
||||
; DKIM
|
||||
oz._domainkey TXT "v=DKIM1; k=rsa; t=y; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkWPt7xRlY0UirGJFG2X8+yDgwWrMhO9qJEx766LqZE0y389W22/eQstD6PIuGep0xaJn0aJd08qv4Oa+FyX1RngTvGeaMOhjZtEUhC3uOsm5lXv+er/CTbZDppt1zOGM75P4nXMARxWW+VkyyxFi1Kg03GFhEy2zWSWLcRTqPLwIDAQAB"
|
||||
oz._domainkey.alumni TXT "v=DKIM1; k=rsa; t=y; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkWPt7xRlY0UirGJFG2X8+yDgwWrMhO9qJEx766LqZE0y389W22/eQstD6PIuGep0xaJn0aJd08qv4Oa+FyX1RngTvGeaMOhjZtEUhC3uOsm5lXv+er/CTbZDppt1zOGM75P4nXMARxWW+VkyyxFi1Kg03GFhEy2zWSWLcRTqPLwIDAQAB"
|
||||
oz._domainkey.master TXT "v=DKIM1; k=rsa; t=y; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkWPt7xRlY0UirGJFG2X8+yDgwWrMhO9qJEx766LqZE0y389W22/eQstD6PIuGep0xaJn0aJd08qv4Oa+FyX1RngTvGeaMOhjZtEUhC3uOsm5lXv+er/CTbZDppt1zOGM75P4nXMARxWW+VkyyxFi1Kg03GFhEy2zWSWLcRTqPLwIDAQAB"
|
||||
oz._domainkey.doc TXT "v=DKIM1; k=rsa; t=y; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkWPt7xRlY0UirGJFG2X8+yDgwWrMhO9qJEx766LqZE0y389W22/eQstD6PIuGep0xaJn0aJd08qv4Oa+FyX1RngTvGeaMOhjZtEUhC3uOsm5lXv+er/CTbZDppt1zOGM75P4nXMARxWW+VkyyxFi1Kg03GFhEy2zWSWLcRTqPLwIDAQAB"
|
||||
|
||||
; Our services.
|
||||
stats CNAME kiireessa
|
||||
; grafana is a way to plot statistics
|
||||
grafana CNAME jamlikhet
|
||||
nagios CNAME kiireessa
|
||||
cacti CNAME kiireessa
|
||||
files CNAME ozgurluk
|
||||
dev CNAME murphy
|
||||
docs CNAME murphy
|
||||
dev.diogenes CNAME murphy
|
||||
test.diogenes CNAME murphy
|
||||
prod CNAME murphy
|
||||
egroupware CNAME murphy
|
||||
mioga CNAME murphy
|
||||
mail CNAME yuuai
|
||||
ntp CNAME kiireessa
|
||||
git CNAME jamlikhet
|
||||
data CNAME jamlikhet
|
||||
notes CNAME jamlikhet
|
||||
quassel CNAME murphy
|
||||
|
||||
; Tryble services.
|
||||
sharing CNAME ozgurluk
|
||||
sharing-storage CNAME ozgurluk
|
||||
sharing-directory CNAME ozgurluk
|
||||
sharing-backoffice CNAME ozgurluk
|
||||
|
||||
; Blog hosting.
|
||||
blog CNAME ozgurluk
|
||||
blog-test CNAME ozgurluk
|
||||
|
||||
; Wikifarm hosting
|
||||
wikifarm CNAME ozgurluk
|
||||
wikifarm-dev CNAME murphy
|
||||
|
||||
; Groupes X / binets / ... with email redirections.
|
||||
paristech A 129.104.30.37 ; site Diogenes
|
||||
MX 0 mx1.polytechnique.org.
|
||||
MX 5 mx2.polytechnique.org.
|
||||
MX 10 mx3.polytechnique.org.
|
||||
staff A 129.104.30.37 ; site Diogenes
|
||||
MX 0 mx1.polytechnique.org.
|
||||
MX 5 mx2.polytechnique.org.
|
||||
MX 10 mx3.polytechnique.org.
|
||||
xmc A 129.104.30.37 ; Proxypass
|
||||
MX 0 mx1.polytechnique.org.
|
||||
MX 5 mx2.polytechnique.org.
|
||||
MX 10 mx3.polytechnique.org.
|
||||
xmp-businessangels CNAME xmp-ba
|
||||
xmp-ba A 129.104.30.37 ; site Diogenes
|
||||
MX 0 mx1.polytechnique.org.
|
||||
MX 5 mx2.polytechnique.org.
|
||||
MX 10 mx3.polytechnique.org.
|
||||
|
||||
; Google Apps services.
|
||||
googleffffffffe8a0991f CNAME google.com.
|
||||
gapps._domainkey TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCNMIaB4/D75948XakL+18IOPPUB4G3AKjwHparPozrq5goxOBVUlHghGpS7bdUIG/1l+f/Ms6qeS3e7LXz4GBi6k5LRuzIi84kVUgLeKvSo/csnQnugqXvogLBKB+p6OPSTb6Nhp/YGDLwuge/bkr55CxyLmpiiukRRF++3M7BsQIDAQAB"
|
||||
20
dns-v2/zones/melix.net
Normal file
20
dns-v2/zones/melix.net
Normal file
@@ -0,0 +1,20 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
melix.net. IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2022061601 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
A 129.104.30.37
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
; SPF
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org ?all"
|
||||
TXT "v=spf1 include:spf.polytechnique.org ?all"
|
||||
; DKIM
|
||||
oz._domainkey TXT "v=DKIM1; k=rsa; t=y; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkWPt7xRlY0UirGJFG2X8+yDgwWrMhO9qJEx766LqZE0y389W22/eQstD6PIuGep0xaJn0aJd08qv4Oa+FyX1RngTvGeaMOhjZtEUhC3uOsm5lXv+er/CTbZDppt1zOGM75P4nXMARxWW+VkyyxFi1Kg03GFhEy2zWSWLcRTqPLwIDAQAB"
|
||||
20
dns-v2/zones/melix.org
Normal file
20
dns-v2/zones/melix.org
Normal file
@@ -0,0 +1,20 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
melix.org. IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2022061601 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
A 129.104.30.37
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
; SPF
|
||||
TXT "v=spf1 include:spf.polytechnique.org ?all"
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org ?all"
|
||||
; DKIM
|
||||
oz._domainkey TXT "v=DKIM1; k=rsa; t=y; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCkWPt7xRlY0UirGJFG2X8+yDgwWrMhO9qJEx766LqZE0y389W22/eQstD6PIuGep0xaJn0aJd08qv4Oa+FyX1RngTvGeaMOhjZtEUhC3uOsm5lXv+er/CTbZDppt1zOGM75P4nXMARxWW+VkyyxFi1Kg03GFhEy2zWSWLcRTqPLwIDAQAB"
|
||||
20
dns-v2/zones/platal.org
Normal file
20
dns-v2/zones/platal.org
Normal file
@@ -0,0 +1,20 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
platal.org. IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2016082201 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
A 129.104.30.33
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
; SPF
|
||||
TXT "spf2.0/pra,mfrom include:spf.polytechnique.org ?all"
|
||||
TXT "v=spf1 include:spf.polytechnique.org ?all"
|
||||
|
||||
www A 129.104.30.37 ; Redirect
|
||||
17
dns-v2/zones/polytechnique.biz
Normal file
17
dns-v2/zones/polytechnique.biz
Normal file
@@ -0,0 +1,17 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
polytechnique.biz. IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2014050401 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
A 129.104.30.37
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
|
||||
www A 129.104.30.37
|
||||
26
dns-v2/zones/polytechnique.net
Normal file
26
dns-v2/zones/polytechnique.net
Normal file
@@ -0,0 +1,26 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
polytechnique.net. 86400 IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2022041402 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
300 A 129.104.30.37 ; Default
|
||||
; 300 A 91.121.62.108 ; Backup
|
||||
MX 5 mx1.polytechnique.org.
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 10 mx3.polytechnique.org.
|
||||
|
||||
$ORIGIN polytechnique.net.
|
||||
|
||||
www 300 A 129.104.30.37 ; Default
|
||||
;www 300 A 91.121.62.108 ; Backup
|
||||
dev CNAME murphy.polytechnique.org.
|
||||
prod CNAME murphy.polytechnique.org.
|
||||
|
||||
; vim:set sts=8 et:
|
||||
2146
dns-v2/zones/polytechnique.org
Normal file
2146
dns-v2/zones/polytechnique.org
Normal file
File diff suppressed because it is too large
Load Diff
23
dns-v2/zones/polyteknic.org
Normal file
23
dns-v2/zones/polyteknic.org
Normal file
@@ -0,0 +1,23 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
polyteknic.org. 86400 IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2016021302 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
; 300 A 129.104.30.37
|
||||
300 A 91.121.62.108
|
||||
MX 5 mx1.polytechnique.org.
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 10 mx3.polytechnique.org.
|
||||
|
||||
$ORIGIN polyteknic.org.
|
||||
|
||||
www 300 A 91.121.62.108
|
||||
|
||||
; vim:set sts=8 et:
|
||||
21
dns-v2/zones/w4x.org
Normal file
21
dns-v2/zones/w4x.org
Normal file
@@ -0,0 +1,21 @@
|
||||
$TTL 3600
|
||||
; NB: Managed from oz only, edit it there.
|
||||
w4x.org. IN SOA ns1.polytechnique.org. contact.polytechnique.org. (
|
||||
2014050401 ; serial
|
||||
21600 ; refresh (6 hours)
|
||||
3600 ; retry (1 hour)
|
||||
3600000 ; expire (5 weeks 6 days 16 hours)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
86400 NS ns1.polytechnique.org.
|
||||
86400 NS ns2.polytechnique.org.
|
||||
86400 NS ns3.polytechnique.org.
|
||||
A 129.104.30.37
|
||||
MX 0 mx2.polytechnique.org.
|
||||
MX 5 mx3.polytechnique.org.
|
||||
|
||||
$ORIGIN w4x.org.
|
||||
www CNAME www.polytechnique.org.
|
||||
u CNAME www.polytechnique.org.
|
||||
dev CNAME murphy.polytechnique.org.
|
||||
u.dev CNAME murphy.polytechnique.org.
|
||||
Reference in New Issue
Block a user