How to ban IPs which don't resolve to hostnames ?
How to ban IPs which don't resolve to hostnames ?
When people from some countries connect to my server, they have no "hostname", probably some ISP related issue for them. How can I "disallow" people who don't have "hostname" ? Is it possible ?
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
Code: Select all
allow {
ip "NOTHING";
hostname *;
...
What Stealth said is correct though, and it works.
It doesn't have any impact on the time it takes to resolve a host.
So whenever someone could not get in due to this "hosts only" restriction, they would have come online with an IP (not a host) if you didn't have it, nothing else.
So most likely the DNS server was simply down or unreachable of those users. But again, it's not related to this setting(s).
It doesn't have any impact on the time it takes to resolve a host.
So whenever someone could not get in due to this "hosts only" restriction, they would have come online with an IP (not a host) if you didn't have it, nothing else.
So most likely the DNS server was simply down or unreachable of those users. But again, it's not related to this setting(s).