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

autocreate_reverse_records does not work with powerdns > 4.4 #192

Open
aba-rechsteiner opened this issue Jul 6, 2022 · 3 comments
Open

Comments

@aba-rechsteiner
Copy link

as of PowerDNS version 4.4 the set-ptr feature is no longer supported and therefore the autocreate_reverse_records does not work.

https://github.com/PowerDNS/pdns/pull/9593/files#diff-7240b871c4a8ef68cfaf28739c49d762abb6613c13b176ab776256930f4705a1

@thomas-pike
Copy link
Collaborator

That's unfortunate :( I guess we either have to remove the functionality, or, preferably implement it ourselves.

@aba-rechsteiner
Copy link
Author

yes I think this is a must have, because you always need a PTR for an A/AAAA record. It would be really cool if this would be implemented.

@XANi
Copy link

XANi commented Feb 3, 2023

It actually works in funny way for us - for existing PTR domains it works, for nonexisting ones we get nondescriptive

image

and corresponding stack trace

2023/02/03 12:27:18 [error] 545#545: *2811 FastCGI sent in stderr: "
PHP message: 1675423638: BadData in /var/www/html/dns-ui-0.2.7/model/zone.php:727
PHP message: 1675423638: Stack trace:
PHP message: 1675423638: #0 /var/www/html/dns-ui-0.2.7/views/api.php(147): Zone->process_bulk_json_rrset_update()
PHP message: 1675423638: #1 /var/www/html/dns-ui-0.2.7/views/api.php(63): API->update_zone_rrsets()
PHP message: 1675423638: #2 /var/www/html/dns-ui-0.2.7/views/api.php(106): API->options()
PHP message: 1675423638: #3 /var/www/html/dns-ui-0.2.7/views/api.php(33): API->zone()
PHP message: 1675423638: #4 /var/www/html/dns-ui-0.2.7/requesthandler.php(62): require('/var/www/html/d...')
PHP message: 1675423638: #5 /var/www/html/dns-ui-0.2.3/public_html/init.php(18): require('/var/www/html/d...')
PHP message: 1675423638: #6 {main}" while reading response header from upstream, client: 127.0.0.1, server: _, request: "PATCH /api/v2/zones/example.com. HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "www.example.com", referrer: "https://www.example.com/zones/non.3dart.com?name=ttt"

We'd be entirely fine with PTR zones not being created automatically (more than fine; that's actual use case for us, we don't want to create PTR for random domains clients give us to manage and have to point to some external IP) , or records not being created if PTR doesn't exist, just don't block editing records

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

3 participants