From 93056dddeb63f08cd8093540cc875dae12c52bbb Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 27 Feb 2021 05:44:04 -0600 Subject: [PATCH] Add more records, also respond to the full 127.0.0.0/8 block --- desu.local/dns-unbound/unbound.conf | 30 +++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/desu.local/dns-unbound/unbound.conf b/desu.local/dns-unbound/unbound.conf index 54edc0e..8416716 100644 --- a/desu.local/dns-unbound/unbound.conf +++ b/desu.local/dns-unbound/unbound.conf @@ -3,7 +3,7 @@ server: interface: 0.0.0.0@5053 do-ip6: no do-daemonize: no - access-control: 127.0.0.1/32 allow + access-control: 127.0.0.0/8 allow access-control: 192.168.0.0/16 allow access-control: 172.16.0.0/12 allow access-control: 10.0.0.0/8 allow @@ -12,9 +12,27 @@ server: verbosity: 1 statistics-interval: 600 statistics-cumulative: yes -# include: /opt/unbound/etc/unbound/a-records.conf + local-zone: "desu.ltd." typetransparent - local-data: "pi-kub-master-1.desu.ltd. 3600 IN A 192.168.102.1" - local-data: "pi-kub-node-1.desu.ltd. 3600 IN A 192.168.102.10" - local-data: "pi-kub-node-2.desu.ltd. 3600 IN A 192.168.102.11" - local-data: "pi-kub-node-3.desu.ltd. 3600 IN A 192.168.102.12" + # IoT shit on .99 + local-data: "botnet-roku-1.desu.ltd. 3600 IN A 192.168.99.1" + # Others workstations on .100 + local-data: "sad.desu.ltd. 3600 IN A 192.168.100.1" + # My workstations and devices on .101 + local-data: "lap-s76-lemp9-0.desu.ltd. 3600 IN A 192.168.101.1" + local-data: "dsk-ryzen-0.desu.ltd. 3600 IN A 192.168.101.2" + local-data: "ph-flame-0.desu.ltd. 3600 IN A 192.168.101.100" + # k8s on .102 + local-data: "pi-kub-master-1.desu.ltd. 3600 IN A 192.168.102.1" + local-data: "pi-kub-node-1.desu.ltd. 3600 IN A 192.168.102.10" + local-data: "pi-kub-node-2.desu.ltd. 3600 IN A 192.168.102.11" + local-data: "pi-kub-node-3.desu.ltd. 3600 IN A 192.168.102.12" + # General-purpose nodes on .103 + local-data: "pi-mp-1.desu.ltd. 3600 IN A 192.168.103.100" + local-data: "pi-mp-2.desu.ltd. 3600 IN A 192.168.103.101" + + #local-zone "desu.local." static + #local-data "grafana.desu.local. 3600 IN A " + #local-data "jellyfin.desu.local. 3600 IN A " + #local-data "sonarr.desu.local. 3600 IN A " + #local-data "transmission.desu.local. 3600 IN A "