I run a FreeBSD 10.3-RELEASE-p14 server with a PF firewall. Few days ago I've activated the local unbound server for caching purposes.
My pf rules have been created few years ago and work well. They include some persistent table definitions with either IP addresses or hostname or both:
After setting local_unbound_enable to YES in rc.conf, I didn't notice immediately that
Very weird.
My resolv.conf is:
And command line host resolution worked great (or in any other software in fact).
I've switched back to my previous DNS IPs:
And suddenly
I think I've hit a bug, but I'm not certain. Any comment?
My pf rules have been created few years ago and work well. They include some persistent table definitions with either IP addresses or hostname or both:
Code:
table <admin_nets> persist { ... }
table <webspam> persist file "/etc/pf.liste_ip_webspam"
table <mysql_servers> persist { ... }
...
After setting local_unbound_enable to YES in rc.conf, I didn't notice immediately that
pf
could no longer parse pf.conf:
Code:
# pfctl -f /etc/pf.conf
no IP address found for host.example.net
/etc/pf.conf:8: could not parse host specification
pfctl: Syntax error in config file: pf rules not loaded
Very weird.
My resolv.conf is:
Code:
search example.net
nameserver 127.0.0.1
options edns0
And command line host resolution worked great (or in any other software in fact).
I've switched back to my previous DNS IPs:
Code:
search example.net
nameserver IP1.FOR.MY.DNS
nameserver IP2.FOR.MY.DNS
And suddenly
pfctl
was happy again loading my original pf.conf file:
Code:
# pfctl -f /etc/pf.conf
(no error)
I think I've hit a bug, but I'm not certain. Any comment?