dynamic dns cgi program with sql backend