Hi, 
I'm using obsd 3.8 with apache. 
 
I'm trying to use mod_access with HostnameLookups like: 
HostnameLookups double 
Order deny,allow 
deny from all 
allow from .lu 
 
Unfortunately every access is denied because no reverse lookups are made. I 
used tcpdump to 
see if any port 53 queries are made and no, no queries are made! 
 
I disabled chroot with (httpd -u) and now queries work, I can see them with 
tcpdump. Access 
from .lu are also allowed now, I also tried, for example to use .com (or other) 
in the config file and 
then access is denied. So it works perfectly when chroot is disabled. 
 
I really would like to keep apache to run in the chroot! 
 
Is it possible to use "HostnameLookups" within openbsd chroot? 
 
Do I have to copy a specific tool or library within /var/www to enable it?  
 
Thanks a lot for helping 
Didier 

Reply via email to