Allowing customers to update a DNS record

honds

Registered
Jun 3, 2004
1
0
151
Here is the problem.
My customer wants the address servera.domain.tld to point to his game server. However, the IP address changed frequently, and I can't let him access my WHM to change the IP of the A link record in DNS. Subdomains won't do because the port being used isn't 80.
In other words... how can I use a script to update an A record in the DNS zone for his domain.

I'm using PHP.

Yes, I know I could open an HTTP connection, then load the DNS page (scripts/editzone), get all the form fields and thier values by parsing the page, change the one I need to and post the fields to scripts2/savezone but I was hoping there is an easier (and more efficient) way.

Thank you for any help you can give.