switch dns on oberon

This commit is contained in:
vincent 2024-02-24 17:11:40 +01:00
parent f207be7d7d
commit 3dae6adb33
5 changed files with 4 additions and 6 deletions

View File

@ -3,7 +3,7 @@ dhcpd_lease_time: '72'
dhcpd_domain_name: "lan.{{ domain.name }}"
dhcpd_nameservers:
- '192.168.1.4'
- '192.168.1.41'
- '192.168.1.43'
dhcpd_zones:
- zone: "lan.{{ domain.name }}."

View File

@ -1,9 +1,7 @@
[DNS]
gerard
oberon
[dhcp]
gerard
oberon
[database_active]

View File

@ -33,7 +33,7 @@ job "nut_exporter" {
ports = ["http"]
}
env {
NUT_EXPORTER_SERVER= "192.168.1.10"
NUT_EXPORTER_SERVER= "192.168.1.43"
NUT_EXPORTER_VARIABLES = "battery.runtime,battery.charge,input.voltage,output.voltage,output.voltage.nominal,ups.load,ups.status,ups.realpower"
}

View File

@ -63,7 +63,7 @@ job "pdns-auth" {
destination = "local/dnsupdate.conf"
data = <<EOH
dnsupdate=yes
allow-dnsupdate-from=192.168.1.41/24
allow-dnsupdate-from=192.168.1.43/24
local-address=192.168.1.5
local-port=53
EOH

View File

@ -73,7 +73,7 @@ job "pihole" {
env {
TZ = "Europe/Paris"
DNS1 = "192.168.1.5"
DNS2 = "192.168.1.41"
DNS2 = "192.168.1.43"
WEB_PORT = "${NOMAD_PORT_http}"
}