diff --git a/config/pdns.conf b/config/pdns.conf new file mode 100644 index 0000000..da33603 --- /dev/null +++ b/config/pdns.conf @@ -0,0 +1,16 @@ +api=yes +api-key=changeme +expand-alias=yes +include-dir=/etc/powerdns/pdns.d +launch=gsqlite3 +gsqlite3-database=/var/lib/powerdns/pdns.sqlite3 +local-address=127.0.0.1 +local-port=5300 +log-dns-details=yes +log-dns-queries=yes +loglevel=4 +resolver=127.0.0.1:5300 +security-poll-suffix= +webserver=yes +webserver-address=10.0.96.30 +webserver-allow-from=10.0.96.1/24 diff --git a/config/recursor.conf b/config/recursor.conf new file mode 100644 index 0000000..971e25b --- /dev/null +++ b/config/recursor.conf @@ -0,0 +1,14 @@ +allow-from=10.0.96.0/24 +config-dir=/etc/powerdns +disable-packetcache=yes +forward-zones=home.thejimnicholson.com=127.0.0.1:5300 +hint-file=/usr/share/dns/root.hints +include-dir=/etc/powerdns/recursor.d +local-address=10.0.96.30 +log-common-errors=yes +loglevel=6 +lua-config-file=/etc/powerdns/recursor.lua +packetcache-ttl=0 +public-suffix-list-file=/usr/share/publicsuffix/public_suffix_list.dat +quiet=yes +security-poll-suffix= diff --git a/home.thejimnicholson.com b/home.thejimnicholson.com index 2ac7ccb..ef2435b 100644 --- a/home.thejimnicholson.com +++ b/home.thejimnicholson.com @@ -5,15 +5,19 @@ cnsl02.home.thejimnicholson.com 3600 IN A 10.0.96.81 cnsl03.home.thejimnicholson.com 3600 IN A 10.0.96.82 disk.home.thejimnicholson.com 3600 IN A 10.0.96.2 dns01.home.thejimnicholson.com 3600 IN A 10.0.96.30 +docker.home.thejimnicholson.com 60 IN CNAME cluster-gw.home.thejimnicholson.com. dswarm01.home.thejimnicholson.com 3600 IN A 10.0.96.70 dswarm02.home.thejimnicholson.com 3600 IN A 10.0.96.71 dswarm03.home.thejimnicholson.com 3600 IN A 10.0.96.72 fileserver.home.thejimnicholson.com 3600 IN A 10.0.96.3 grafana.home.thejimnicholson.com 3600 IN CNAME lb.home.thejimnicholson.com. -home.thejimnicholson.com 3600 IN NS ns1.home.thejimnicholson.com. -home.thejimnicholson.com 3600 IN SOA something.else hostmaster.home.thejimnicholson.com 15 10800 3600 604800 3600 +guac.home.thejimnicholson.com 60 IN CNAME lb.home.thejimnicholson.com. +heimdall.home.thejimnicholson.com 60 IN CNAME lb.home.thejimnicholson.com. +home.thejimnicholson.com 60 IN NS ns1.home.thejimnicholson.com. +home.thejimnicholson.com 3600 IN SOA something.else hostmaster.home.thejimnicholson.com 19 10800 3600 604800 3600 lb.home.thejimnicholson.com 3600 IN A 10.0.96.5 oort.home.thejimnicholson.com 3600 IN A 10.0.96.179 +pdns.home.thejimnicholson.com 60 IN CNAME lb.home.thejimnicholson.com. pikube.home.thejimnicholson.com 3600 IN A 10.0.96.41 pikube.home.thejimnicholson.com 3600 IN A 10.0.96.45 pikube.home.thejimnicholson.com 3600 IN A 10.0.96.50 @@ -27,7 +31,6 @@ pikube07.home.thejimnicholson.com 3600 IN A 10.0.96.47 pikube08.home.thejimnicholson.com 3600 IN A 10.0.96.48 pikube09.home.thejimnicholson.com 3600 IN A 10.0.96.49 pikube10.home.thejimnicholson.com 3600 IN A 10.0.96.50 -portainer.home.thejimnicholson.com 3600 IN A 10.0.96.165 pve.home.thejimnicholson.com 3600 IN A 10.0.96.10 pve2.home.thejimnicholson.com 3600 IN A 10.0.96.11 pve3.home.thejimnicholson.com 3600 IN A 10.0.96.13