########################### Unbound Configuration############################# Server configuration##server:chroot: /var/unboundusername: unbounddirectory: /var/unboundpidfile: /var/run/unbound.piduse-syslog: yesport: 53verbosity: 3hide-identity: nohide-version: noharden-referral-path: nodo-ip4: yesdo-ip6: yesdo-udp: yesdo-tcp: yesdo-daemonize: yesmodule-config: "validator iterator"cache-max-ttl: 86400cache-min-ttl: 0harden-dnssec-stripped: yesserve-expired: nooutgoing-num-tcp: 10incoming-num-tcp: 10num-queries-per-thread: 4096outgoing-range: 8192infra-host-ttl: 900infra-cache-numhosts: 10000unwanted-reply-threshold: 0jostle-timeout: 200msg-cache-size: 4mrrset-cache-size: 8mnum-threads: 2msg-cache-slabs: 4rrset-cache-slabs: 4infra-cache-slabs: 4key-cache-slabs: 4auto-trust-anchor-file: /var/unbound/root.keyprefetch: noprefetch-key: no# Statistics# Unbound Statisticsstatistics-interval: 0extended-statistics: yesstatistics-cumulative: yes# Interface IP(s) to bind tointerface: 0.0.0.0interface: ::0interface-automatic: yes# DNS Rebinding# Access listsinclude: /var/unbound/access_lists.conf# Static host entriesinclude: /var/unbound/host_entries.conf# DHCP leases (if configured)include: /var/unbound/dhcpleases.conf# Domain overridesinclude: /var/unbound/domainoverrides.conf
access-control: 127.0.0.1/32 allowaccess-control: ::1 allowaccess-control: 192.168.1.0/24 allowaccess-control: 71.172.17.0/24 allow#Internalaccess-control: 10.0.8.0/32 allow_snoopaccess-control: 192.168.2.0/24 allow_snoop
[bran@laptop ~]$ ip a2: wlp59s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:28:f8:54:ad:1c brd ff:ff:ff:ff:ff:ff inet 192.168.2.203/24 brd 192.168.2.255 scope global dynamic noprefixroute wlp59s0 valid_lft 3297sec preferred_lft 3297sec inet6 fe80::f4b1:b20f:2d80:1117/64 scope link noprefixroute valid_lft forever preferred_lft forever3: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100 link/none inet 10.0.8.6 peer 10.0.8.5/32 brd 10.0.8.6 scope global noprefixroute tun0 valid_lft forever preferred_lft forever inet6 fe80::c6a2:c488:c3f0:7fcb/64 scope link stable-privacy valid_lft forever preferred_lft forever [bran@laptop ~]$ cat /etc/resolv.conf# Generated by NetworkManagersearch brandongolway.us golwaynameserver 192.168.1.1nameserver 192.168.2.1 [bran@laptop ~]$ dig @192.168.1.1 opnsense.brandongolway.us; <<>> DiG 9.12.1 <<>> @192.168.1.1 opnsense.brandongolway.us; (1 server found);; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 60507;; flags: qr rd ad; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0;; WARNING: recursion requested but not available;; Query time: 27 msec;; SERVER: 192.168.1.1#53(192.168.1.1);; WHEN: Mon May 14 12:20:40 EDT 2018;; MSG SIZE rcvd: 12
dig @192.168.1.1 opnsense.brandongolway.us; <<>> DiG 9.10.6 <<>> @192.168.1.1 opnsense.brandongolway.us; (1 server found);; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 16266;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4096;; QUESTION SECTION:;opnsense.brandongolway.us. IN A;; AUTHORITY SECTION:brandongolway.us. 3600 IN SOA ns1.he.net. hostmaster.he.net. 2018051200 10800 1800 604800 86400;; Query time: 69 msec;; SERVER: 192.168.1.1#53(192.168.1.1);; WHEN: Mon May 14 13:17:10 EDT 2018;; MSG SIZE rcvd: 111
; <<>> DiG 9.12.1 <<>> opnsense.brandongolway.us;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8619;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 4096;; QUESTION SECTION:;opnsense.brandongolway.us. IN A;; ANSWER SECTION:opnsense.brandongolway.us. 3600 IN A 192.168.1.1;; Query time: 0 msec;; SERVER: 192.168.1.1#53(192.168.1.1);; WHEN: Mon May 14 13:33:44 EDT 2018;; MSG SIZE rcvd: 86
; <<>> DiG 9.12.1 <<>> opnsense.brandongolway.us;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 10872;; flags: qr rd ad; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0;; WARNING: recursion requested but not available;; Query time: 22 msec;; SERVER: 192.168.1.1#53(192.168.1.1);; WHEN: Mon May 14 14:10:52 EDT 2018;; MSG SIZE rcvd: 12