Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CNAME Record #29

Closed
wgjr opened this issue Apr 7, 2020 · 2 comments
Closed

CNAME Record #29

wgjr opened this issue Apr 7, 2020 · 2 comments

Comments

@wgjr
Copy link

wgjr commented Apr 7, 2020

Hello, again thanks for the code and I come to ask for help.

I'm having trouble creating CNAME records.

Apparently it is not in the correct format, but I cannot find the necessary format, could you help me with that?

Exonet \ Powerdns \ Exceptions \ ValidationException: Record www.domain.net./CNAME 'domain.net': Not in expected format (parsed as 'domain.net.') in /home/public_html/vendor/exonet/powerdns-php/src/Connector.php:155\nStack

@trizz
Copy link
Member

trizz commented Apr 7, 2020

Hi @wgjr,

I understand the confusion in this case. The CNAME must have a canonical name as value, for example domain.net. - the last dot is important!

The validation error as returned from PowerDNS is a bit confusing. It states that the value is 'parsed as 'domain.net.'', but in reality, it isn't.

@trizz
Copy link
Member

trizz commented Apr 20, 2020

This issue has gone silent, closing for now. If you have any more questions feel free to reopen!

@trizz trizz closed this as completed Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants