From 5260acd7f00b453b71d095a59b2c59648dee43c4 Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: May 20 2020 15:00:34 +0000 Subject: [sysadmin/dns] correct iad hostnames and add bash function --- diff --git a/docs/sysadmin-guide/sops/dns.rst b/docs/sysadmin-guide/sops/dns.rst index 8f36e23..eb39e56 100644 --- a/docs/sysadmin-guide/sops/dns.rst +++ b/docs/sysadmin-guide/sops/dns.rst @@ -16,14 +16,10 @@ of the zone changes will actually work before they are allowed. DNS Infrastructure SOP ====================== -We have 7 DNS servers: +We have 5 DNS servers: ns02.fedoraproject.org hosted at ibiblio (ipv6 enabled) -ns03.phx2.fedoraproject.org - in phx2, internal to phx2. -ns04.fedoraproject.org - in phx2, external. ns05.fedoraproject.org hosted at internetx (ipv6 enabled) ns13.rdu2.fedoraproject.org @@ -63,7 +59,7 @@ Contact: Location: ServerBeach and ibiblio and internetx and phx2. Servers: - ns02, ns03.phx2, ns04, ns05, ns13.rdu2, ns01.iad2, ns02.iad2 + ns02, ns05, ns13.rdu2, ns01.iad2, ns02.iad2 Purpose: Provides DNS to our users @@ -152,6 +148,17 @@ In all cases then run: - nameservers update from dns via cron every 10minutes. +The above git process can be achieved with the below bash function +where the commit message is passed as an arg when running.:: + + dnscommit() + { + local args=$1 + cd ~/dns; + git commit -a -m "${args}" + git pull --rebase && ./do-domains && git add built && git commit -a -m "Signed DNS" && git push + } + If you need an update to be live more quickly: and then run this on all of the nameservers (as root)::