I tried to add a txt value to my DNS records to use certbot (certbot-auto as explained here ).
Here are my DNS records in text mode (with example numbers):
@ 10800 IN SOA ex1.example.net. hostmaster.example.net. XXXXX XXXXX XXXX XXXXXX XXXXX
* 1800 IN A XXX.XXX.XXX.XXX
@ 10800 IN A XXX.XXX.XXX.XXX
@ 10800 IN MX 10 @
@ 10800 IN MX 50 fb.mail.gandi.net.
_acme-challenge.example.org 1800 IN A XXX.XXX.XXX.XXX
_acme-challenge.example.org 10800 IN TXT "a-value"
_acme-challenge.example.org 10800 IN TXT "another-value"
www.example.org 1800 IN A XXX.XXX.XXX.XXX
but when I run:
host -t txt _acme-challenge.example.org
I get:
_acme-challenge.example.org has no TXT record
Why are my TXT records not taken into account?