How expensive is a hostname in htaccess? Other solutions possible?
- by Nanne
For easy allow or disallowing of dynamic IP-adresses you can add them as a hostname in a .htaccess file.
As I have read from:
.htaccess allow from hostname?
it does a reverse lookup on the
connecting ip address, seeing if the
response matches the allowed name.
(Well, actually Apache is doing a
double lookup, first a reverse lookup
…