DigitalOcean supports managing domains through its control panel and API. See here for more information.

At this time, DigitalOcean does not support registering new domains.