Update zuul dns records to the new static02 server

For records that can be CNAMEs we convert from A/AAAA records to CNAME
records to static.opendev.org. This will cut down on future updates
needed as we can simply update that CNAME in the future. For the @
records CNAMEs are not allowed forcing us to update the A/AAAA records
to point to the new IP addresses. I've also lowered the TTLs on the
A/AAAA records in case we need to revert.

I did not lower the TTLs on the CNAME records because we can simply
change the CNAME which has a small TTL for those records instead.

Depends-On: https://review.opendev.org/c/opendev/zone-opendev.org/+/879780
Change-Id: I82772e4bc8c742cc32febb11e3f2ac77ea8fffff
This commit is contained in:
Clark Boylan 2023-04-06 11:17:38 -07:00
parent a7d6feb290
commit c98b81258e
2 changed files with 9 additions and 12 deletions

View File

@ -2,15 +2,15 @@
$ORIGIN zuul-ci.org.
$TTL 5m
@ IN SOA adns1.opendev.org. hostmaster.openstack.org. (
1679016240 ; serial number unixtime
1680805031 ; serial number unixtime
1h ; refresh (secondary checks for updates)
10m ; retry (secondary retries failed axfr)
10d ; expire (secondary ends serving old data)
5m ) ; min ttl (cache time for failed lookups)
@ IN NS ns1.opendev.org.
@ IN NS ns2.opendev.org.
@ IN A 23.253.245.150
@ IN AAAA 2001:4800:7818:101:be76:4eff:fe04:7c28
@ 300 IN A 104.130.253.131
@ 300 IN AAAA 2001:4800:7818:103:be76:4eff:fe01:f37d
@ IN TXT google-site-verification=qV9PGeBrEuWddnzR_BtHoTnG9xrUbgW5CB16Q1iFyRw
ns1 IN A 23.253.236.219
ns1 IN AAAA 2001:4800:7817:103:be76:4eff:fe04:3fc7
@ -20,11 +20,9 @@ ns2 IN AAAA 2604:e100:1:0:f816:3eff:fe53:ee69
lists IN A 162.209.78.70
lists IN AAAA 2001:4800:7813:516:be76:4eff:fe04:5423
_acme-challenge.lists IN CNAME acme.opendev.org.
www IN A 23.253.245.150
www IN AAAA 2001:4800:7818:101:be76:4eff:fe04:7c28
www IN CNAME static.opendev.org.
git IN CNAME static.opendev.org.
registry IN A 23.253.245.150
registry IN AAAA 2001:4800:7818:101:be76:4eff:fe04:7c28
registry IN CNAME static.opendev.org.
_acme-challenge IN CNAME acme.opendev.org.
_acme-challenge.www IN CNAME acme.opendev.org.
_acme-challenge.git IN CNAME acme.opendev.org.

View File

@ -2,16 +2,15 @@
$ORIGIN zuulci.org.
$TTL 5m
@ IN SOA adns1.opendev.org. hostmaster.openstack.org. (
1583398471 ; serial number unixtime
1680805031 ; serial number unixtime
1h ; refresh (secondary checks for updates)
10m ; retry (secondary retries failed axfr)
10d ; expire (secondary ends serving old data)
5m ) ; min ttl (cache time for failed lookups)
@ IN NS ns1.opendev.org.
@ IN NS ns2.opendev.org.
@ IN A 23.253.245.150
@ IN AAAA 2001:4800:7818:101:be76:4eff:fe04:7c28
www IN A 23.253.245.150
www IN AAAA 2001:4800:7818:101:be76:4eff:fe04:7c28
@ 300 IN A 104.130.253.131
@ 300 IN AAAA 2001:4800:7818:103:be76:4eff:fe01:f37d
www IN CNAME static.opendev.org.
_acme-challenge IN CNAME acme.opendev.org.
_acme-challenge.www IN CNAME acme.opendev.org.