I am currently following this tutorial. The author says we can add a TXT record on the local DNS resolver. But can I please know how do I do that?

How do I add a TXT or A record on the local server ( using unbound?

System - Ubuntu 18.04 (AWS EC2 Instance).


"The author says we can add a TXT record on the local DNS resolver." The author does not say that.

unbound is a recursive validating resolver. Its purpose is just to resolve names, by querying other nameservers. It has no data itself on names, just what it retrieves.

Adding a TXT record needs to happen on the authoritative nameservers for the zone, which by definition can not be unbound.

So you need to find out the nameservers for the zone where you want to add a TXT record for DKIM purposes, and change the zonefile there. Probably through some website or API offered by the provider currently managing your authoritative nameservers.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.