I am wondering if it is possible to have a hook or an API

I am wondering if it is possible to have a hook or an API for the domain mapping plugin..

When a user maps a domain to thier account we need to trigger an entry into our DNS and the reverse. Is this possible?