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_domain_name: "lan.{{ domain.name }}"
dhcpd_nameservers: dhcpd_nameservers:
- '192.168.1.4' - '192.168.1.4'
- '192.168.1.41' - '192.168.1.43'
dhcpd_zones: dhcpd_zones:
- zone: "lan.{{ domain.name }}." - zone: "lan.{{ domain.name }}."

View File

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

View File

@ -33,7 +33,7 @@ job "nut_exporter" {
ports = ["http"] ports = ["http"]
} }
env { 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" 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" destination = "local/dnsupdate.conf"
data = <<EOH data = <<EOH
dnsupdate=yes 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-address=192.168.1.5
local-port=53 local-port=53
EOH EOH

View File

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