Jump to content
  • 0

Acis 399 DNS


Kotegaeshi92

Question

Hi friends ! I am wondering if there is a way to make the login and game server update the current ip (masked by dns) because when my dynamic ip changes the game server and login server still connect to the old ip (I have dns set on both) and then I can't log back in until I close and restart both game server and login server. In previous versions I did not have this problem. The game and login server always took the dns and not the ip behind the dns. Thanks a lot !

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
3 hours ago, melron said:

Too many questions... How the hek the IP is changing while you are connected to this specific hostname?

my ip es dynamic, i have a no-ip, but still with that , if the ip changes, the gameserver keeps using the old ip.. i have the dns configured in both login and gameserver. In older versions this didnt happen.

Link to comment
Share on other sites

  • 0
8 hours ago, Kotegaeshi92 said:

my ip es dynamic, i have a no-ip, but still with that , if the ip changes, the gameserver keeps using the old ip.. i have the dns configured in both login and gameserver. In older versions this didnt happen.

Try to fix the base of the problem. The ip should NOT be changing! WTF? The ip is not 1 number. If it changes without doing any action, then it means that either you are using VPN connection which is totaly wrong if you don't have any hostname to redirect to that ip or your provider is changing the node of your connection (which is unacceptable)

Edited by melron
Link to comment
Share on other sites

  • 0
13 hours ago, melron said:

Try to fix the base of the problem. The ip should NOT be changing! WTF? The ip is not 1 number. If it changes without doing any action, then it means that either you are using VPN connection which is totaly wrong if you don't have any hostname to redirect to that ip or your provider is changing the node of your connection (which is unacceptable)

Yeah, i can buy the static ip service, but the point is that in previous versions of acis(ex . 365)  this didnt happen, im using the same configuration, im using the dns in the config, so i dont know why the gameserver uses the current ip and not the dns name instead. But well. thanks anyway !

Link to comment
Share on other sites

  • 0
On 3/9/2022 at 12:55 AM, splicho said:

Some isp changes your ip every 24 hours for reasons. So its indeed possible that this guy his ip changes every day..

Well it is possible to be changed from some ips but it would never gonna change while this ip is reserved and have active communications with some end points. The protocols are not just numbers. I remember a host company that had in their description the ip change feature that was also configurable for better perfomance in their systems, but it has clearly a note that it would not change while you are online. I think its obvious 

Edited by melron
  • Upvote 1
Link to comment
Share on other sites

  • 0
Hiho, correct me if I'm wrong, but I don't think regular L2J handles that scenario too. Part of latest L2J LoginServer :

InetAddress bindAddress = null;
if (!server().getHost().equals("*")) {
try {
bindAddress = InetAddress.getByName(server().getGameServerHost());
} catch (Exception ex) {
LOG.warn("The Login Server bind address is invalid, using all avaliable IPs!", ex);
}
}
try {
_selectorThread.openServerSocket(bindAddress, server().getPort());
_selectorThread.start();
LOG.info("Login Server is now listening on {}:{}.", server().getHost(), server().getPort());
} catch (Exception ex) {
LOG.error("Failed to open server socket!", ex);
System.exit(1);
}

And there is no reason it worked before, since no edition is made on that level, and it is identical to what latest L2J LoginServer delivers. Basically, hostname is translated into IP on server (being ls or gs) startup and I don't know any task updating it.

As Trance said, server should use DynDNS plugins.

(Btw I'm sorry, but I can't quote or got any format tool for the message since few months already).
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


  • Posts

    • L2 Insignia High Five 20x MID SERVER FOCUSED ON OLYMPIAD | PVP | AUTOFARM       OPEN BETA TEST SERVER 3 MAY 2024   GRAND OPENING 10 MAY 2024    Rates: 📜 XP/SP 20x | Spoil 15x | Drop 10x | Adena 10x 📜     Server Features: 🔥 No Olf-T Shirt, No big over-enchant, No over-power Donate 🔥 🔥 VIP Gold Color Chat, Unique Olympiad Extra Points Engine, GvG Event 🔥 🔥 Auto-Farm, LoA and DV scheduled PvP Zone, Calendar Daily Reward 🔥 🔥 Castle Instance, Solo Instance, PvP Solo Rift, Dress me system, Adena Boxes 🔥        Website: https://www.l2insignia.com  Discord: https://discord.com/invite/yEgsrHn2hQ      
    • I am selling the essence project which includes versions 388 and 439 that have been running for over 2 years or (447 as custom PVP like Pride). I have a test server for you to test them out. If you are really interested in it then contact my seller at discord: kiwi7106. Price: 4000 Euro P/s: This is a project that I have spent a lot of money and time developing, so if you are not interested in it, please get out of this topic, thank you. P/s 2: If you find the price too expensive, it's best to skip this article and find another project and don't comment negatively on my topic, thank you.
    • Someone ask me for this, it should work on any client that has Kamael race, preview:     Installation - there are two ways to install depending on how you want to use it:   Method 1: If you want to completely replace the original, do:   Copy all lines from your armorgrp to Notepad++, press Ctrl+H, check the "match whole word" option and replace:   kamael.Mkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_MKamael_m001_w_ad00   Then replace:   MKamael.Mkamael_m000_t00_w   by:   AvengersKamaelWings.MKamael_m001_t00_w   Now repeat the same process with the female, replace:   kamael.Fkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_FKamael_m001_w_ad00   Then replace:   FKamael.Fkamael_m000_t00_w   by:   AvengersKamaelWings.FKamael_m001_t00_w   You're done, paste everything back into File Edit and save!   Method 2: If you only want to replace in specific sets, execute the above process only on the armorgrp of those sets.   Repack by: AvengersTeamBr Password: LadrãoDeFrango      
  • Topics

×
×
  • Create New...