Delayed Game Entry due to Reverse DNS

Help with Setup, Hardware, Performance or other Issues...Or just pimp your rig.
Post Reply
lnielsen
Private
Private
Posts: 3
Joined: Wed Nov 30, 2005 2:07 pm

Delayed Game Entry due to Reverse DNS

Post 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?
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post 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
orange
Private First Class
Private First Class
Posts: 73
Joined: Thu Oct 02, 2003 2:02 am

Post 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.
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

Would getting yourself a .dyndns.org domain help, then the reverse lookup has two possible entrys to find?
orange
Private First Class
Private First Class
Posts: 73
Joined: Thu Oct 02, 2003 2:02 am

Post 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.
lnielsen
Private
Private
Posts: 3
Joined: Wed Nov 30, 2005 2:07 pm

A little more information...

Post 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.
orange
Private First Class
Private First Class
Posts: 73
Joined: Thu Oct 02, 2003 2:02 am

Re: A little more information...

Post 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 :-)
lnielsen
Private
Private
Posts: 3
Joined: Wed Nov 30, 2005 2:07 pm

Local Host File?

Post 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?
Post Reply