Hi all, I have been running the same rules for PF for two years and everything was working perfectly fine.
Problem comes after I upgraded my FreeBSD from 10.3-STABLE -> FreeBSD 11.2-STABLE. The local_unbound is not able to forward requests from localhost to public DNS server (8.8.8.8) after reloading the PF configurations. I am not sure if this is a bug related. Thanks in advance!
Problem comes after I upgraded my FreeBSD from 10.3-STABLE -> FreeBSD 11.2-STABLE. The local_unbound is not able to forward requests from localhost to public DNS server (8.8.8.8) after reloading the PF configurations. I am not sure if this is a bug related. Thanks in advance!
Code:
$ drill google.com
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 49252
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 216.58.196.14
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 9 msec
;; SERVER: 127.0.0.1
;; WHEN: Wed Oct 24 15:28:18 2018
;; MSG SIZE rcvd: 44
Code:
$ sudo service pf reload
Reloading pf rules.
Code:
$ drill google.com
Error: error sending query: Could not send or receive, because of network error
Code:
$ drill @8.8.8.8 google.com
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 40973
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; google.com. IN A
;; ANSWER SECTION:
google.com. 299 IN A 216.58.196.14
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 11 msec
;; SERVER: 8.8.8.8
;; WHEN: Wed Oct 24 15:30:36 2018
;; MSG SIZE rcvd: 44