Txt syntax for bind9


#1

It seems that I can’t find any good syntax for txt record for bind9. Does anyone have some ?
I found out that the value should be in « »
But that doesn’t seem to be enough.


#2

Hi @boistordu,

_acme-challenge IN TXT "here the token"

or

_acme-challenge.yourdomain.tld. IN TXT "here the token"

Edit: Added 2 examples for a subdomain.

_acme-challenge.subdomain IN TXT "here the token"

or

_acme-challenge.subdomain.yourdomain.tld. IN TXT "here the token"

Cheers,
sahsanu


#3

I don’t know why for the moment but it doesn’t return any result so I guess I’m missing something


#4

Is the TXT protected by the same protection than CNAME ? So to get any result I should have the transfer available for everyone ?


#5

Sorry but I don’t understand what you mean.


#6

I got my answer by testing it. I couldn’t get any dig or nslookup -a=txt because of protection of transfer zone. If any devices would try it it would shown as access denied in logs.
And for the previous attempt with certbot, I’ve been stupid enough to forget the point at the end of the name.
Thanks for your help


#7

Don’t allow zone-transfer for everybody! This is not needed for general DNS operation, e.g. querying arbitrary records.


#8

Don’t worry I let the protection in place :slight_smile:


#9

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.