Skip to content

Conversation

@pefeigl
Copy link

@pefeigl pefeigl commented Oct 23, 2025

Map example.com!internal to example.com..internal for the relevant pdns HTTP API calls.

Map example.com!internal to example.com..internal for the relevant pdns HTTP API calls.
@pefeigl
Copy link
Author

pefeigl commented Oct 23, 2025

I hope this is ok, I've tested it locally, it seems to work fine.
I am unsure what to do about the function EnsureZoneExists in file providers/powerdns/dns.go line 67, it only gets the domain name, I don't understand how to access the tag from it, to ensure the right variant name is calculated.

@tlimoncelli
Copy link
Collaborator

I hope this is ok, I've tested it locally, it seems to work fine. I am unsure what to do about the function EnsureZoneExists in file providers/powerdns/dns.go line 67, it only gets the domain name, I don't understand how to access the tag from it, to ensure the right variant name is calculated.

That's an interesting point! You would need to change the signature of EnsureZoneExists() to include a tag. You can include that here or in a separate PR.

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

Successfully merging this pull request may close these issues.

2 participants