Custom DNS server as a service

I would like to run a custom dns server in drone and point one of the step to use this service as the dns server, Is this possible with drone? This is needed because the program that i would like to test expect it user’s to add a TXT field with generated-custom value to their domain to prove that the user has control of that domain.