Hello,
Everybody know how to setup a hostname for his dynamic IP like "NO-IP" & DynDNS etc, the idea behind this technique is to make your hostname point to your IP once it change, cool.
But the problem with gunz is when you setup & syncronize your hostname with your ip, and change the system.xml and stuff, you need to manually update the database with your IP that you have now, every time because gunz doesn't translate the hostname from your database to a working ip that you own at the current time, wich generate a beautifull red message:
"Cannot access server."
so i created a program that can auto update the database every minutes or so with the IP that you own, and this is great for people who run the server at home or who have a dynamic ip, this application can bypass the NAT if you are behind a router and update the database with your WAN IP
This is also a solution for administrators who plan to make a reliable server with a dynamic ip, if you lost internet connection then you will have a new ip adress, once the hostname is syncronised again and the software reach his interval your server(s) will be up and running without your intervention.
the configuration of the updater is quit simple the updater come with an INI file just like gunz server, the INI file look like this:
SERVERID you can find this value in the database, in the dbo.ServerStatus table, if you have more than one server to update you can write in this value SERVERID="1,2,3" etc where 1 & 2 & 3 are servers id if you have just one server write SERVERID="1" where 1 is the serverid of your serverCode:[DB] DNS="GunzDB" USERNAME="sa" PASSWORD="your password" [UPDATER] SERVERID="" HEARTBEAT=300
HEARTBEAT take a number value (without quotes) the heartbeat value is the interval (in seconds) wich the app update again the db.
Hints: How to create a hostname for your dynamic IP
if you have any problems, bugs etc with the program just let me know, Bye bye![]()



Reply With Quote![Dynamic IP[The solution]](http://ragezone.com/hyper728.png)

