added correct DNS Server to subnets

This commit is contained in:
2025-06-13 00:11:58 +02:00
parent 17cf46c3fd
commit c8cb87f0ae
3 changed files with 45 additions and 10 deletions
+6 -4
View File
@@ -68,8 +68,9 @@ resource "openstack_networking_subnet_v2" "hnrx-prod" {
start = "192.168.113.10"
end = "192.168.113.200"
}
enable_dhcp = true
gateway_ip = "192.168.113.1"
enable_dhcp = true
gateway_ip = "192.168.113.1"
dns_nameservers = ["192.168.1.1"]
}
resource "openstack_networking_subnet_v2" "hnrx-dev" {
@@ -80,8 +81,9 @@ resource "openstack_networking_subnet_v2" "hnrx-dev" {
start = "192.168.112.10"
end = "192.168.112.200"
}
enable_dhcp = true
gateway_ip = "192.168.112.1"
enable_dhcp = true
gateway_ip = "192.168.112.1"
dns_nameservers = ["192.168.1.1"]
}