dnscache: add freifunk forward-zones

This commit is contained in:
Astro 2020-04-12 03:05:55 +02:00
parent 9533957525
commit d589cba320
2 changed files with 30 additions and 7 deletions

View File

@ -139,6 +139,16 @@
name: "d.f.ip6.arpa"
forward-addr: fd42:d42:d42:53::1
forward-addr: 172.23.0.53
forward-zone:
name: "ffdd"
forward-addr: 10.200.0.4
forward-addr: 10.200.0.16
forward-zone:
name: "200.10.in-addr.arpa"
forward-addr: 10.200.0.4
forward-addr: 10.200.0.16
'';
};

View File

@ -231,17 +231,30 @@ in {
services.collectd = lib.mkIf cfg.hq.statistics.enable {
enable = true;
autoLoadPlugin = true;
extraConfig = ''
HostName "${config.networking.hostName}"
FQDNLookup false
Interval 10
LoadPlugin network
<Plugin "network">
Server "grafana.hq" "25826"
</Plugin>
'';
plugins = {
file = ''
LogLevel info
File STDOUT
'';
network = ''
Server "grafana.hq.c3d2.de" "25826"
'';
memory = "";
processes = "";
disk = "";
df = "";
cpu = "";
entropy = "";
load = "";
swap = "";
cgroups = "";
vmem = "";
interface = "";
};
};
services.hail = lib.mkIf cfg.enableHail {