dns

DNS Deployment for nordgedanken.dev infra.
git clone git://archive.git.mtrnord.blog/Nordgedanken/dns.git
Log | Files | Refs

commit fd438af25a1afbf1d28f428fd8c8fd3b8cede605
parent 485efe5bf71c3d7107dea13a31f2455924bdfd40
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Sat, 11 May 2024 19:58:04 +0200

Merge pull request #36 from Nordgedanken/MTRNord/cleanup

Cleanup
Diffstat:
Mconfig/midnightthoughts.space.yaml | 60------------------------------------------------------------
Mconfig/miki.community.yaml | 79-------------------------------------------------------------------------------
Mconfig/nordgedanken.dev.yaml | 23-----------------------
Mconfig/production.yaml | 35++---------------------------------
4 files changed, 2 insertions(+), 195 deletions(-)

diff --git a/config/midnightthoughts.space.yaml b/config/midnightthoughts.space.yaml @@ -92,15 +92,7 @@ kubernetes_ingress: &kubernetes #- '2a01:4f8:c012:492::1' #- '2a01:4f9:c012:54d3::1' - '2a01:4f9:c010:9436::2' -sliding.matrix: *kubernetes -weave: *kubernetes -webhook.kubernetes: *kubernetes zammad: *kubernetes -fleet: *kubernetes -hookshot: *kubernetes -keycloak: *kubernetes -users: *kubernetes -admin.users: *kubernetes vault: &new_cluster - type: A @@ -115,67 +107,15 @@ matrix: *new_cluster dashboard.kubernetes: *new_cluster auth: *new_cluster -nordgedanken.lg: - ttl: 1800 - type: A - value: 10.0.1.2 notes: ttl: 1800 type: CNAME value: cname.vercel-dns.com. -pbx: - - ttl: 1800 - type: A - value: 49.13.24.105 postgres.internal: ttl: 60 type: A value: 10.0.3.1 -redmine: *kubernetes -rspamd: - - ttl: 1800 - type: A - value: 65.21.116.74 - - ttl: 1800 - type: AAAA - value: 2a01:4f9:4a:451c:2::2 status.draupnir: ttl: 1800 type: CNAME value: the-draupnir-project.github.io. -worker-1.lg: - ttl: 1800 - type: A - value: 10.0.2.3 -worker-2.lg: - ttl: 1800 - type: A - value: 10.0.2.2 -znc: - - ttl: 1800 - type: A - value: 49.13.24.105 -soju: - - ttl: 1800 - type: A - value: 37.27.5.79 -search: - - ttl: 1800 - type: A - value: "37.27.5.79" - - ttl: 1800 - type: AAAA - value: "2a01:4f9:c012:54d3::" -# Personal discourse store -personal: - - ttl: 1800 - type: A - value: 37.27.5.79 - - ttl: 1800 - type: AAAA - value: "2a01:4f9:c012:54d3::" - -_acme-challenge: - ttl: 15 - type: TXT - value: Mb0--1OsXaW3G2ugkX8VmsVBJ2ijCg8gf301rxfqK0E diff --git a/config/miki.community.yaml b/config/miki.community.yaml @@ -13,83 +13,8 @@ tag: issue value: letsencrypt.org; validationmethods=tls-alpn-01,dns-01,http-01 - ttl: 1800 - type: MX - value: - exchange: mail.nordgedanken.dev. - preference: 10 - - ttl: 600 - type: NS - values: - - ns1.nordgedanken.dev. - - ns2.nordgedanken.dev. - - ns3.nordgedanken.dev. - - ttl: 1800 type: TXT value: google-site-verification=tcGRl_gNRBdFRI8-tNAPj6x-8FbmGihFNcYn9_xS7tc -_acme-challenge.rdf: - ttl: 120 - type: TXT - value: AUaffkyUCUuKALNYlNg3EjcyqgeUb1fVAchTD1YCsYg -_autodiscover._tcp: - ttl: 1800 - type: SRV - value: - port: 443 - priority: 10 - target: mail.nordgedanken.dev. - weight: 1 -_imap._tcp: - ttl: 1800 - type: SRV - value: - port: 143 - priority: 20 - target: mail.nordgedanken.dev. - weight: 1 -_imaps._tcp: - ttl: 1800 - type: SRV - value: - port: 993 - priority: 10 - target: mail.nordgedanken.dev. - weight: 1 -_pop3._tcp: - ttl: 1800 - type: SRV - value: - port: 110 - priority: 20 - target: mail.nordgedanken.dev. - weight: 1 -_pop3s._tcp: - ttl: 1800 - type: SRV - value: - port: 995 - priority: 10 - target: mail.nordgedanken.dev. - weight: 1 -_submission._tcp: - ttl: 1800 - type: SRV - value: - port: 587 - priority: 20 - target: mail.nordgedanken.dev. - weight: 1 -_submissions._tcp: - ttl: 1800 - type: SRV - value: - port: 465 - priority: 10 - target: mail.nordgedanken.dev. - weight: 1 -autoconfig: - ttl: 1800 - type: CNAME - value: mail.nordgedanken.dev. data: ttl: 1800 type: A @@ -102,7 +27,3 @@ forum: ttl: 1800 type: A value: 49.13.24.105 -rdf: - ttl: 1800 - type: A - value: 65.21.116.74 diff --git a/config/nordgedanken.dev.yaml b/config/nordgedanken.dev.yaml @@ -149,25 +149,7 @@ kubernetes: &kubernetes #- '2a01:4f8:c012:492::1' #- '2a01:4f9:c012:54d3::1' - '2a01:4f9:c010:9436::2' -auth: *kubernetes -git: *kubernetes -github-hook: *kubernetes netbox: *kubernetes -paperless: *kubernetes -search: *kubernetes -zuul: *kubernetes -piwigo: *kubernetes -umami: *kubernetes -chaos: *kubernetes - -# Others -mastodon: - - ttl: 1800 - type: A - value: 37.27.5.79 - - ttl: 1800 - type: AAAA - value: '2a01:4f9:c012:54d3::' # Local Homenet local: @@ -177,8 +159,3 @@ local: - ttl: 60 type: AAAA value: 2a01:4f9:c010:9436::1 - -_acme-challenge: - ttl: 15 - type: TXT - value: NuK9J23OlRSzjLcGG4XYvecym6YhFCcgLtZdLCCnaVA diff --git a/config/production.yaml b/config/production.yaml @@ -39,36 +39,6 @@ providers: # A different limit for (non-)enterprise zone applies. # See: https://developers.cloudflare.com/dns/manage-dns-records/reference/ttl #min_ttl: 120 - powerdns_ns1: - class: octodns_powerdns.PowerDnsProvider - # The host on which PowerDNS api is listening (required) - host: 65.21.116.72 - # The port on whih PowerDNS api is listening (optional, default 8081) - port: 8082 - # The api key that grans access (required, example is using an env var) - api_key: env/POWERDNS_API_KEY_NS1 - # Send DNS NOTIFY to secondary servers after change (optional, default false) - # notify: false - powerdns_ns2: - class: octodns_powerdns.PowerDnsProvider - # The host on which PowerDNS api is listening (required) - host: 37.27.5.79 - # The port on whih PowerDNS api is listening (optional, default 8081) - port: 8081 - # The api key that grans access (required, example is using an env var) - api_key: env/POWERDNS_API_KEY_NS2 - # Send DNS NOTIFY to secondary servers after change (optional, default false) - # notify: false - powerdns_ns3_v2: - class: octodns_powerdns.PowerDnsProvider - # The host on which PowerDNS api is listening (required) - host: 49.13.24.105 - # The port on whih PowerDNS api is listening (optional, default 8081) - port: 8081 - # The api key that grans access (required, example is using an env var) - api_key: env/POWERDNS_API_KEY_NS3 - # Send DNS NOTIFY to secondary servers after change (optional, default false) - # notify: false zones: midnightthoughts.space.: sources: [config] @@ -78,8 +48,7 @@ zones: sources: [config] processors: [spf] targets: [cloudflare] - miki.community.: &default + miki.community.: sources: [config] processors: [spf] - targets: [powerdns_ns1, powerdns_ns2, powerdns_ns3_v2] - #targets: [powerdns_ns2, powerdns_ns3_v2] + targets: [cloudflare]