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

Fix TXT record splitting in PowerDNS script #173

Open
lopf opened this issue Jan 25, 2024 · 0 comments · May be fixed by #174
Open

Fix TXT record splitting in PowerDNS script #173

lopf opened this issue Jan 25, 2024 · 0 comments · May be fixed by #174

Comments

@lopf
Copy link

lopf commented Jan 25, 2024

If a TXT record is longer than 255 characters, the controller adds a tab separator. The script receives the record with the tab separator and writes it to the DB. So far, so good. However, PowerDNS does not serve the request correctly because it performs string splitting on its own. Instead, it does some weird tab encoding.
To address this issue, the script needs to take corrective action by replacing the tabs with an empty string before storing it in the database.

@lopf lopf linked a pull request Jan 25, 2024 that will close this issue
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 a pull request may close this issue.

1 participant