# @TODO change this to local file
auto-trust-anchor-file: "/var/lib/unbound/root.key"
+
+server:
+ local-zone: hopsa.kidee. always_refuse
+ local-data: "hopsa.kidee. TXT hela hola"
\ No newline at end of file
echo "FWD_PORT=$FWD_PORT" >> .tpkg.var.test
# rewrite config file with created ports
-sed -e 's/@PORT\@/'$UNBOUND_PORT'/' < fwd_tcp.conf > ub.conf
+sed -e 's/@PORT\@/'$UNBOUND_PORT'/' < ede.conf > ub.conf
# start unbound in the background
PRE="../.."
# refused nonrec (cache snoop) (Not Auth)
dig @127.0.0.1 -p $UNBOUND_PORT +norec > snoop.text
+# @TODO dnssec bogus local zones something
+dig @127.0.0.1 qwerqwer.hopsa.kidee. TXT +dnssec > bogus.txt
+
+# refused, not auth ???
+
+
# DNAME expansion
+
# teardown
kill_pid $UNBOUND_PID
\ No newline at end of file