-
Detailed descriptionWhen I want to add a TXT record, the dot character added to the beginning of the domain name causes the process to terminate with an error. Possible implementationWhen adding a TXT record, the domain name must not start with a dot character. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @eminata, As far as I know, a record can never start with a dot. This is not a limitation of this package, but it's the way how DNS works. If you think this is incorrect, feel free to reopen this issue and post the error you've received. |
Beta Was this translation helpful? Give feedback.
-
First of all, thank you for your help and sharing this library with us. Request Details DebugArray
) Response422 - Unprocessable Entity - Unable to parse DNS Name Codehttps://github.com/exonet/powerdns-php/blob/master/src/Helper.php#L42 HelpIf I remove the dot at the beginning of the domain name, the operation is successful. If this is not an error, how should I proceed? |
Beta Was this translation helpful? Give feedback.
-
That is correct. To add a record for the zone itself (without 'subdomain', in your case |
Beta Was this translation helpful? Give feedback.
That is correct. To add a record for the zone itself (without 'subdomain', in your case
domain.com
) you can usedomain.com
as the record name, or the@
shortcut. This will create a TXT record fordomain.com
.