pf with hostnames

Jeremy C. Reed reed at reedmedia.net
Mon Jun 4 15:42:25 PDT 2007


On Tue, 5 Jun 2007, Gergo Szakal wrote:

> If pf.conf has a rule that contains a hostname, pf freezes when starting
> in case the hostname cannot be looked up.
> I have not tested how long this freeze takes, cause I temporarily
> rewrote those hostnames. Can I do something to resolve this?

Maybe try modifying /etc/rc.d/pf to add "named" to the "# REQUIRE" line.

On NetBSD and OpenBSD, they have two different pf start up scripts. One 
happens early and does just basic rules.

Then the other happens after networking is available. But still before 
DNS.

  Jeremy C. Reed








More information about the Users mailing list