zoneip with dynamic DNS configured?

Post Reply
kloe
Posts: 11
Joined: Fri Dec 06, 2013 10:13 pm

zoneip with dynamic DNS configured?

Post by kloe » Fri Dec 13, 2013 10:25 pm

Hello, I was wondering if it is possible to set zoneip up with a dynamic DNS hostname instead of an IP. Reasoning behind this is that my ISP will change my public IP every once in awhile, and it would be nice to not have to update the public IP in zoneip everytime this occurs. Just curious if this would be possible, thanks!

kloe
Posts: 11
Joined: Fri Dec 06, 2013 10:13 pm

Re: zoneip with dynamic DNS configured?

Post by kloe » Sat Dec 14, 2013 11:43 pm

Since there hasn't been a response i've actually decided to create a script on my own that will do this. Currently I have worked out grabbing the up to date IP address from my dynamic DNS hostname and converting it to decimal format. The next step will be to figure out how to get it to update the zone_settings sql table with the new decimal format IP. I don't forsee this being too big of a deal and I'll post it up when i'm completed so anyone that wants it can use it. FYI this is a windows batch file, so it will only work on windows based FFXI servers.

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: zoneip with dynamic DNS configured?

Post by whasf » Tue Dec 17, 2013 12:47 pm

You'll have to have it restart the game & lobby servers too when your IP changes, those are only read on startup.
-- Whasf

kloe
Posts: 11
Joined: Fri Dec 06, 2013 10:13 pm

Re: zoneip with dynamic DNS configured?

Post by kloe » Tue Dec 17, 2013 1:27 pm

I actually posted the batch file to the third party tools section. Here's a link to the thread. viewtopic.php?f=16&t=1731

I wasn't sure if people would want the batch file to reboot their servers after it changes it though. I figured they would want to do that on their own. I am actually in the process of updating the batch file and I am going to include two separate ones. One that auto-restarts the server and one that doesn't. The one that auto-restarts will also have the option to loop so that it runs a check constantly in the background, which means it will "auto-update" the zoneIP as soon as it changes and reboot the server. That way people can choose which one they want to use.

Post Reply