Fixed error checking in service_freedns.