Page 1 of 1
How to ban IPs which don't resolve to hostnames ?
Posted: Tue Aug 29, 2006 7:21 pm
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 ?
Posted: Wed Aug 30, 2006 1:16 am
For the allow block, set the IP as "NOTHING"... this should work
Posted: Wed Aug 30, 2006 11:23 pm
Could you please show me the syntax ? I'm not sure what you mean by "NOTHING"
Posted: Thu Aug 31, 2006 4:38 am
Code: Select all
Posted: Tue Sep 12, 2006 3:15 am
Stealth I did that and it made it so that almost no one could connect instead of forcing a timeout for a users information to be resolved. It also blocked users from connecting whose name normally resolves.
Posted: Tue Sep 12, 2006 2:51 pm
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).