Hello again,
sorry if I may sound like a broken record or even seem stupid, but I still do not understand a couple of things.
1. I think in variant 1 the return value of the lookup should be "ip" not "domain", but that is just a note (and a question of whether I understood it).
2. I still do not exactly understand when the acquiring of a new IP happens, because once my IP changed, I cannot imagine other players, who might want to connect, would get a response.
Say I do this:
- start loginserver
- start gameserver
- connect to the loginserver and the gameserver (by entering the game)
This means I connected to my server and am able to play.
Now imagine the server-IP changes and is almost instantly broadcasted to my no-ip redirect.
New players, who try to connect to the server by using "myaddress.no-ip.org" would be redirected to my new IP - which is fine.
However: when / how would the server know, that its external IP changed (unless it monitors the external IP)?
From what I understand the requests via corresponding login- and gameserver ports would start hitting the new server as soon as my dynamic dns redirect changed to the new IP (of my physical server). Does that mean, that the login- and gameserver would be able to recognize these requests and thus lookup its new external IP?
What happens to the players, who are currently connected to the server? I would not mind if they get disconnected, but the command-line parameter I am using to redirect the client to my server is the dynamic redirect - which means the client would probably not notice that the IP behind the dynamic redirect changed and correctly access my server?
I added the changes and will compile the new l2jlogin.jar to test it, but I would also like to understand how this works so if you could elaborate on this just a bit more, I perhaps would understand

. Thank you very much in advance though!
Edit: MARVELOUS! Many many thanks, Digitizer.
I just tried variant 1 by using "myaddress.no-ip.com" and it worked! I did
NOT have to restart the server in order to be able to reconnect after the IP had changed. It simply let me login and when I have chosen a character, it replaced the old external IP by the new one flawlessly.
However: characters, that have been logged in before the server changed its IP, caused the client to hang (and potentially disconnect) and thus had to be logged back in afterwards. However: on a test-server this is absolutely no problem at all. Everything else seemed to work just like it did before the IP changed.
Again: many thanks! I will probably stick with the first variant as it really works flawlessly. If there was a way to keep the connected clients connected, it'd be awesome, but I suppose it will not work, because I suspect that the client resolves the host I have given to an IP when it starts up and thus does not notice the change, ultimately disconnecting once the server-IP changes, right?