Em 11-11-2015 00:06, Nick Holland escreveu:
> The point is...if you put in a DNS name, odds are you are going to end
> up thinking you are blocking/passing/redirecting a DNS name..when in
> reality, you are whatevering JUST the IP address that it resolves to at
> the time the firewall rules were loaded.  You may have missed a lot, or
> it may move.
>
> IF you are really in a situation where the only things you are trying to
> manage with DNS names are simple 1:1 name:ip mappings, an easy solution
> would be to have your pf.conf file a "stub" with enough to let the
> system come up, then a post boot and periodic (re)load of the "real"
> rules in a separate file.

I tried to help the OP by suggesting he use macros or anchors; I'd like
to take it back. Don't ever use dns names on pf.conf. The only safe way
to properly deal with this is using a proxy. Relayd can work quite well
for simple cases.

Cheers,
Giancarlo Razzolini

Reply via email to