2026-01-05 16:40:37 +01:00
|
|
|
# DNS Configuration for vrije.cloud using hcloud provider
|
|
|
|
|
# The zone already exists in Hetzner Console, so we reference it as a data source
|
2025-12-27 13:48:42 +01:00
|
|
|
|
2026-01-05 16:40:37 +01:00
|
|
|
# Reference the existing DNS zone
|
|
|
|
|
data "hcloud_zone" "main" {
|
2025-12-27 13:48:42 +01:00
|
|
|
name = var.base_domain
|
|
|
|
|
}
|
|
|
|
|
|
chore: Post-workshop state - January 23rd, 2026
This commit captures the infrastructure state immediately following
the "Post-Tyranny Tech" workshop on January 23rd, 2026.
Infrastructure Status:
- 13 client servers deployed (white, valk, zwaan, specht, das, uil, vos,
haas, wolf, ree, mees, mus, mol, kikker)
- Services: Authentik SSO, Nextcloud, Collabora Office, Traefik
- Private network architecture with edge NAT gateway
- OIDC integration between Authentik and Nextcloud
- Automated recovery flows and invitation system
- Container update monitoring with Diun
- Uptime monitoring with Uptime Kuma
Changes include:
- Multiple new client host configurations
- Network architecture improvements (private IPs + NAT)
- DNS management automation
- Container update notifications
- Email configuration via Mailgun
- SSH key generation for all clients
- Encrypted secrets for all deployments
- Health check and diagnostic scripts
Known Issues to Address:
- Nextcloud version pinned to v30 (should use 'latest' or v32)
- Zitadel references in templates (migrated to Authentik but templates not updated)
- Traefik dynamic config has obsolete static routes
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 20:36:31 +01:00
|
|
|
# A Records for client servers - all now have direct public IPs
|
2026-01-05 16:40:37 +01:00
|
|
|
resource "hcloud_zone_rrset" "client_a" {
|
2025-12-27 13:48:42 +01:00
|
|
|
for_each = var.clients
|
|
|
|
|
|
2026-01-05 16:40:37 +01:00
|
|
|
zone = data.hcloud_zone.main.name
|
|
|
|
|
name = each.value.subdomain
|
|
|
|
|
type = "A"
|
|
|
|
|
ttl = 300
|
|
|
|
|
records = [
|
|
|
|
|
{
|
chore: Post-workshop state - January 23rd, 2026
This commit captures the infrastructure state immediately following
the "Post-Tyranny Tech" workshop on January 23rd, 2026.
Infrastructure Status:
- 13 client servers deployed (white, valk, zwaan, specht, das, uil, vos,
haas, wolf, ree, mees, mus, mol, kikker)
- Services: Authentik SSO, Nextcloud, Collabora Office, Traefik
- Private network architecture with edge NAT gateway
- OIDC integration between Authentik and Nextcloud
- Automated recovery flows and invitation system
- Container update monitoring with Diun
- Uptime monitoring with Uptime Kuma
Changes include:
- Multiple new client host configurations
- Network architecture improvements (private IPs + NAT)
- DNS management automation
- Container update notifications
- Email configuration via Mailgun
- SSH key generation for all clients
- Encrypted secrets for all deployments
- Health check and diagnostic scripts
Known Issues to Address:
- Nextcloud version pinned to v30 (should use 'latest' or v32)
- Zitadel references in templates (migrated to Authentik but templates not updated)
- Traefik dynamic config has obsolete static routes
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 20:36:31 +01:00
|
|
|
value = hcloud_server.client[each.key].ipv4_address
|
|
|
|
|
comment = "Client ${each.key} server"
|
2026-01-05 16:40:37 +01:00
|
|
|
}
|
|
|
|
|
]
|
2025-12-27 13:48:42 +01:00
|
|
|
}
|
|
|
|
|
|
2026-01-05 16:40:37 +01:00
|
|
|
# Wildcard A record for each client (e.g., *.test.vrije.cloud for zitadel.test.vrije.cloud)
|
|
|
|
|
resource "hcloud_zone_rrset" "client_wildcard" {
|
2025-12-27 13:48:42 +01:00
|
|
|
for_each = var.clients
|
|
|
|
|
|
2026-01-05 16:40:37 +01:00
|
|
|
zone = data.hcloud_zone.main.name
|
|
|
|
|
name = "*.${each.value.subdomain}"
|
|
|
|
|
type = "A"
|
|
|
|
|
ttl = 300
|
|
|
|
|
records = [
|
|
|
|
|
{
|
chore: Post-workshop state - January 23rd, 2026
This commit captures the infrastructure state immediately following
the "Post-Tyranny Tech" workshop on January 23rd, 2026.
Infrastructure Status:
- 13 client servers deployed (white, valk, zwaan, specht, das, uil, vos,
haas, wolf, ree, mees, mus, mol, kikker)
- Services: Authentik SSO, Nextcloud, Collabora Office, Traefik
- Private network architecture with edge NAT gateway
- OIDC integration between Authentik and Nextcloud
- Automated recovery flows and invitation system
- Container update monitoring with Diun
- Uptime monitoring with Uptime Kuma
Changes include:
- Multiple new client host configurations
- Network architecture improvements (private IPs + NAT)
- DNS management automation
- Container update notifications
- Email configuration via Mailgun
- SSH key generation for all clients
- Encrypted secrets for all deployments
- Health check and diagnostic scripts
Known Issues to Address:
- Nextcloud version pinned to v30 (should use 'latest' or v32)
- Zitadel references in templates (migrated to Authentik but templates not updated)
- Traefik dynamic config has obsolete static routes
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 20:36:31 +01:00
|
|
|
value = hcloud_server.client[each.key].ipv4_address
|
|
|
|
|
comment = "Wildcard for ${each.key} subdomains"
|
2026-01-05 16:40:37 +01:00
|
|
|
}
|
|
|
|
|
]
|
2025-12-27 13:48:42 +01:00
|
|
|
}
|
|
|
|
|
|
chore: Post-workshop state - January 23rd, 2026
This commit captures the infrastructure state immediately following
the "Post-Tyranny Tech" workshop on January 23rd, 2026.
Infrastructure Status:
- 13 client servers deployed (white, valk, zwaan, specht, das, uil, vos,
haas, wolf, ree, mees, mus, mol, kikker)
- Services: Authentik SSO, Nextcloud, Collabora Office, Traefik
- Private network architecture with edge NAT gateway
- OIDC integration between Authentik and Nextcloud
- Automated recovery flows and invitation system
- Container update monitoring with Diun
- Uptime monitoring with Uptime Kuma
Changes include:
- Multiple new client host configurations
- Network architecture improvements (private IPs + NAT)
- DNS management automation
- Container update notifications
- Email configuration via Mailgun
- SSH key generation for all clients
- Encrypted secrets for all deployments
- Health check and diagnostic scripts
Known Issues to Address:
- Nextcloud version pinned to v30 (should use 'latest' or v32)
- Zitadel references in templates (migrated to Authentik but templates not updated)
- Traefik dynamic config has obsolete static routes
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 20:36:31 +01:00
|
|
|
# AAAA Records for IPv6 - all clients now have IPv6
|
2026-01-05 16:40:37 +01:00
|
|
|
resource "hcloud_zone_rrset" "client_aaaa" {
|
chore: Post-workshop state - January 23rd, 2026
This commit captures the infrastructure state immediately following
the "Post-Tyranny Tech" workshop on January 23rd, 2026.
Infrastructure Status:
- 13 client servers deployed (white, valk, zwaan, specht, das, uil, vos,
haas, wolf, ree, mees, mus, mol, kikker)
- Services: Authentik SSO, Nextcloud, Collabora Office, Traefik
- Private network architecture with edge NAT gateway
- OIDC integration between Authentik and Nextcloud
- Automated recovery flows and invitation system
- Container update monitoring with Diun
- Uptime monitoring with Uptime Kuma
Changes include:
- Multiple new client host configurations
- Network architecture improvements (private IPs + NAT)
- DNS management automation
- Container update notifications
- Email configuration via Mailgun
- SSH key generation for all clients
- Encrypted secrets for all deployments
- Health check and diagnostic scripts
Known Issues to Address:
- Nextcloud version pinned to v30 (should use 'latest' or v32)
- Zitadel references in templates (migrated to Authentik but templates not updated)
- Traefik dynamic config has obsolete static routes
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 20:36:31 +01:00
|
|
|
for_each = var.clients
|
2025-12-27 13:48:42 +01:00
|
|
|
|
2026-01-05 16:40:37 +01:00
|
|
|
zone = data.hcloud_zone.main.name
|
|
|
|
|
name = each.value.subdomain
|
|
|
|
|
type = "AAAA"
|
|
|
|
|
ttl = 300
|
|
|
|
|
records = [
|
|
|
|
|
{
|
|
|
|
|
value = hcloud_server.client[each.key].ipv6_address
|
|
|
|
|
comment = "Client ${each.key} server IPv6"
|
|
|
|
|
}
|
|
|
|
|
]
|
2025-12-27 13:48:42 +01:00
|
|
|
}
|
2026-01-18 18:55:33 +01:00
|
|
|
|
chore: Post-workshop state - January 23rd, 2026
This commit captures the infrastructure state immediately following
the "Post-Tyranny Tech" workshop on January 23rd, 2026.
Infrastructure Status:
- 13 client servers deployed (white, valk, zwaan, specht, das, uil, vos,
haas, wolf, ree, mees, mus, mol, kikker)
- Services: Authentik SSO, Nextcloud, Collabora Office, Traefik
- Private network architecture with edge NAT gateway
- OIDC integration between Authentik and Nextcloud
- Automated recovery flows and invitation system
- Container update monitoring with Diun
- Uptime monitoring with Uptime Kuma
Changes include:
- Multiple new client host configurations
- Network architecture improvements (private IPs + NAT)
- DNS management automation
- Container update notifications
- Email configuration via Mailgun
- SSH key generation for all clients
- Encrypted secrets for all deployments
- Health check and diagnostic scripts
Known Issues to Address:
- Nextcloud version pinned to v30 (should use 'latest' or v32)
- Zitadel references in templates (migrated to Authentik but templates not updated)
- Traefik dynamic config has obsolete static routes
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-23 20:36:31 +01:00
|
|
|
# Static A record for monitoring server removed - managed manually
|
|
|
|
|
# (status.vrije.cloud -> external monitoring server)
|