Verified Commit 6878066d authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

geomirror: bump TTL to 86400 for NS records

In an effort to stay consistent with the TTL used for the archlinux.org
and pkgbuild.com NS records, as well as slightly improve lookup latency.
parent b3ec0204
Pipeline #18014 passed with stage
in 34 seconds
......@@ -5,11 +5,12 @@ domains:
ttl: 3600
records:
{{ geo_mirror_domain }}:
- soa: mirror.pkgbuild.com. root.archlinux.org. 2022011501 3600 1800 604800 3600
- ns: mirror.pkgbuild.com
{% for host in groups['geo_mirrors'] %}
- ns: {{ host }}
{% endfor %}
- soa: mirror.pkgbuild.com. root.archlinux.org. 2022042701 3600 1800 604800 3600
{% for host in groups['geo_mirrors'] + ['mirror.pkgbuild.com'] %}
- ns:
ttl: 86400
content: {{ host }}
{% endfor %}
- lua:
ttl: 300
content: >
......
......@@ -431,13 +431,15 @@ resource "hetznerdns_record" "pkgbuild_com_geo_mirror_ns1" {
name = "geo.mirror"
value = "mirror.pkgbuild.com."
type = "NS"
ttl = 86400
}
resource "hetznerdns_record" "pkgbuild_com_geo_mirror_n2" {
resource "hetznerdns_record" "pkgbuild_com_geo_mirror_ns2" {
zone_id = hetznerdns_zone.pkgbuild.id
name = "geo.mirror"
value = "asia.mirror.pkgbuild.com."
type = "NS"
ttl = 86400
}
resource "hetznerdns_record" "pkgbuild_com_geo_mirror_ns3" {
......@@ -445,6 +447,7 @@ resource "hetznerdns_record" "pkgbuild_com_geo_mirror_ns3" {
name = "geo.mirror"
value = "america.mirror.pkgbuild.com."
type = "NS"
ttl = 86400
}
resource "hetznerdns_record" "pkgbuild_com_geo_mirror_ns4" {
......@@ -452,6 +455,7 @@ resource "hetznerdns_record" "pkgbuild_com_geo_mirror_ns4" {
name = "geo.mirror"
value = "europe.mirror.pkgbuild.com."
type = "NS"
ttl = 86400
}
resource "hetznerdns_record" "archlinux_org_origin_caa" {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment