switch dns on oberon
This commit is contained in:
parent
f207be7d7d
commit
3dae6adb33
@ -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 }}."
|
||||
|
@ -1,9 +1,7 @@
|
||||
[DNS]
|
||||
gerard
|
||||
oberon
|
||||
|
||||
[dhcp]
|
||||
gerard
|
||||
oberon
|
||||
|
||||
[database_active]
|
||||
|
@ -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"
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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}"
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user