Autodiscover for Direct Admin

I need to set up autodiscovery for a domain and am having difficulty doing so.

Is there anyone who has successfully done so who could help me?