We have a store-building script that allows users to park their domain on their account. for example if my domain change dns to ns1 ns2 name.com its auto parked sedo for this We want to configure the server for:
if user (set my dns in your domain or a record to my ip server)
==>Their domain or subdomain is automatically set to our script domain
so far i parked domain by control panel api (cpanel) but it s not good way because some domain change dns but zone always keep in server or needs to check all in some period and ...