Page 1 of 1

Delayed Game Entry due to Reverse DNS

Posted: Wed Nov 30, 2005 3:05 pm
by lnielsen
My client pauses for more than a minute after connecting and downloading the world. If you "Press I" during this time the client seems to hang otherwise you have to wait until the radar start updating before you try to enter.

This seems to be caused by the Reverse DNS process. Is there any way to disable this process?

Posted: Wed Nov 30, 2005 4:33 pm
by Teppic
You could try adding your usual servers to your hosts file. It's in /etc on linux and will have localhost to use as an example. I belive it's not always used on windows, but does exist as a HOSTS.SAMPLE or something similar in win32/drivers. These files should act as a first port of call for any type of dns resolution, to the point of diverting people, with unsecure 802.11 networks, away from thier favourite porn sites to warnerbrothers.com

Posted: Wed Nov 30, 2005 4:50 pm
by orange
I have had this problem as well. As it was explained to me, the problem is the server is looking up YOUR IP address in order to be able to apply hostbans. Therefore, there is no way to bypass the process, and unfortunately since it is the server's DNS query that has to time out, not yours, you cannot help it with a local hosts file.

The only real answer is to complain to your ISP when you confirm that your reverse DNS isn't working.

Posted: Wed Nov 30, 2005 5:15 pm
by Teppic
Would getting yourself a .dyndns.org domain help, then the reverse lookup has two possible entrys to find?

Posted: Wed Nov 30, 2005 5:24 pm
by orange
Teppic wrote:Would getting yourself a .dyndns.org domain help, then the reverse lookup has two possible entrys to find?
No, reverse is always the same no matter how many names you have pointing to the IP in the forward direction.

There are only a certain set of authoritative servers for any particular IP address, and if they aren't working, you're out of luck.

A little more information...

Posted: Wed Nov 30, 2005 9:49 pm
by lnielsen
I am running this on my home network, no ISP is involved and no DNS server. Two Windows PCs, one running both the server and client and the second is only running the client. I don't think I can put x.x.x.x.in.arpa records in a host file on the server but I will check.

It seems like this feature was added in the current release (at least it is listed in the change log). I do not have any hostbans configured so there should be some kind of server switch that says skip the reverse DNS lookup.

Re: A little more information...

Posted: Wed Nov 30, 2005 10:47 pm
by orange
lnielsen wrote:I am running this on my home network, no ISP is involved and no DNS server. Two Windows PCs, one running both the server and client and the second is only running the client. I don't think I can put x.x.x.x.in.arpa records in a host file on the server but I will check.

It seems like this feature was added in the current release (at least it is listed in the change log). I do not have any hostbans configured so there should be some kind of server switch that says skip the reverse DNS lookup.
Hehe, then teppic was right... local hosts files could solve this.

Go figure, we came full circle. I thought you were talking about a public server :-)

Local Host File?

Posted: Thu Dec 01, 2005 1:39 pm
by lnielsen
The request I see is a reverse DNS to x.x.x.x.in-addr.arpa. In other words it is trying to determine the DNS name for the client IP address. How would you setup a local host file to do that? You would need a real DNS server with PTR records.

I still don't see why the server is doing a reverse DNS lookup when there is no hostbans configured. Is there a way to disable this?