These records were previously configured manually in the GleSYS web UI during our DNS outage (b/155). Note that I could not find a way to `terraform import` these records and have instead recreated the set and then cleaned up in the UI. Since we often point things at whitby, I have extracted variables for its IPs in this change. Change-Id: I09fda94d3734e8aaa278fa858e160d046740da1e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4714 Tested-by: BuildkiteCI Autosubmit: tazjin <mail@tazj.in> Reviewed-by: grfn <grfn@gws.fyi>
		
			
				
	
	
		
			44 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			HCL
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			HCL
		
	
	
	
	
	
| # DNS configuration for nixery.dev
 | |
| #
 | |
| # TODO(tazjin): Figure out what to do with //ops/dns for this. I'd
 | |
| # like to keep zonefiles in case we move providers again, but maybe
 | |
| # generate something from them. Not sure yet.
 | |
| 
 | |
| resource "glesys_dnsdomain" "nixery_dev" {
 | |
|   name = "nixery.dev"
 | |
| }
 | |
| 
 | |
| resource "glesys_dnsdomain_record" "nixery_dev_apex_A" {
 | |
|   domain = glesys_dnsdomain.nixery_dev.id
 | |
|   host   = "@"
 | |
|   type   = "A"
 | |
|   data   = var.whitby_ipv4
 | |
| }
 | |
| 
 | |
| resource "glesys_dnsdomain_record" "nixery_dev_apex_AAAA" {
 | |
|   domain = glesys_dnsdomain.nixery_dev.id
 | |
|   host   = "@"
 | |
|   type   = "AAAA"
 | |
|   data   = var.whitby_ipv6
 | |
| }
 | |
| 
 | |
| resource "glesys_dnsdomain_record" "nixery_dev_NS1" {
 | |
|   domain = glesys_dnsdomain.nixery_dev.id
 | |
|   host   = "@"
 | |
|   type   = "NS"
 | |
|   data   = "ns1.namesystem.se."
 | |
| }
 | |
| 
 | |
| resource "glesys_dnsdomain_record" "nixery_dev_NS2" {
 | |
|   domain = glesys_dnsdomain.nixery_dev.id
 | |
|   host   = "@"
 | |
|   type   = "NS"
 | |
|   data   = "ns2.namesystem.se."
 | |
| }
 | |
| 
 | |
| resource "glesys_dnsdomain_record" "nixery_dev_NS3" {
 | |
|   domain = glesys_dnsdomain.nixery_dev.id
 | |
|   host   = "@"
 | |
|   type   = "NS"
 | |
|   data   = "ns3.namesystem.se."
 | |
| }
 |