Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ DNS TTL not honoured

DNS TTL not honoured

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Cipri   Netherlands  (18 posts)  Bio
Date Tue 06 Jun 2006 11:07 PM (UTC)
Message
A MOO I run changed IP's today.
I had set the TTL on the DNS record to 1 minute in preparation for this. After the change I tried to reconnect, but couldn't. The popup warning I got still contained the old IP.
I pinged the IP and the host and everything looked fine. I then ran ipconfig /flushdns, repinged and everything looked good.
I then tried MUSHclient again but still no change. It wasn't untill I restarted the world that MUSHclient would finally connect.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Tue 06 Jun 2006 11:23 PM (UTC)
Message
MUSHclient shouldn't have to worry about DNS TTLs; that's Winsock's job. What might be happening is that MUSHclient looks up the domain name once, and then stores the IP address and uses that from then on; sounds like in order to fix this problem, it would suffice to always look up the host's IP address on connection.

It could also be a Winsock issue where its internal state needs to be flushed or something like that, and closing/restarting the world in MUSHclient does something to Winsock that causes it to flush its caches.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Cipri   Netherlands  (18 posts)  Bio
Date Reply #2 on Tue 06 Jun 2006 11:32 PM (UTC)
Message
As the General\Info page of the world properties dialog contains the IP address, I'd guess MUSHClient stores the resolved IP in memory somewhere too, yeah :)
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 07 Jun 2006 01:31 AM (UTC)
Message
See:

http://www.gammon.com.au/scripts/doc.php?function=ResetIP

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,565 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.