Include local dns in config
This commit is contained in:
parent
2da09ac67e
commit
356ba5f3c6
2 changed files with 21 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
|||
interface = [ "end0" ];
|
||||
access-control = [ "10.0.0.0/8 allow" "fc::/7 allow" ];
|
||||
};
|
||||
include = [ "/etc/unbound/ads.conf" "/etc/unbound/local.conf" ];
|
||||
include = [ "/etc/unbound/ads.conf" "${./unbound-local.conf}" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
20
systems/orangepihole/unbound-local.conf
Normal file
20
systems/orangepihole/unbound-local.conf
Normal file
|
@ -0,0 +1,20 @@
|
|||
private-address: 10.42.69.0/24
|
||||
local-zone: "icanttype.org." static
|
||||
local-data: "zeus.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "zeus.icanttype.org. IN AAAA fd72:3dd5:21ae:3c97:101b:87ff:fe86:5f01"
|
||||
local-data: "orangepihole.icanttype.org. IN A 10.42.69.2"
|
||||
local-data-ptr: "10.42.69.100 zeus.icanttype.org"
|
||||
local-data-ptr: "10.42.69.2 orangepihole.icanttype.org"
|
||||
local-data: "git.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "sonarr.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "homeassistant.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "www.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "radarr.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "jellyfin.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "zwave.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "dashboard.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "prowlarr.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "readarr.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "qbittorrent.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "calibre.icanttype.org. IN A 10.42.69.100"
|
||||
local-data: "calibre-web.icanttype.org. IN A 10.42.69.100"
|
Loading…
Reference in a new issue