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

LDAP backend with strict mode does not work with shorthand AAAA records #14632

Open
2 tasks done
Freddo3000 opened this issue Sep 8, 2024 · 1 comment
Open
2 tasks done
Labels

Comments

@Freddo3000
Copy link

  • Program: Authoritative
  • Issue type: Bug report

Short description

Shorthand AAAA records using the LDAP backend in strict mode don't create PTR records, while fullsize AAAA records do.

Environment

Steps to reproduce

  1. Set up a ldap backend according to https://doc.powerdns.com/authoritative/backends/ldap.html
  2. Set ldap-mode to strict
  3. Create a SOA for a ip6.arpa record
  4. Create a entry with a shorthand ipv6 dns record, ie 1:2::3, notice that PTR records don't resolve
  5. Expand to 1:2:0:0:0:0:0:3, notice that PTR records now resolve

Expected behaviour

Shorthand ipv6 AAAA records should register PTR records the same way as full size ipv6 addresses.

Actual behaviour

Shorthand ipv6 AAAA records don't register corresponding PTR records.

Other information

@rgacogne rgacogne added the auth label Sep 9, 2024
@Habbie
Copy link
Member

Habbie commented Sep 9, 2024

this is documented at https://doc.powerdns.com/authoritative/backends/ldap.html#ipv6-reverse-lookup-doesn-t-work-in-strict-mode, and is unlikely to see improvement any time soon

@Habbie Habbie added this to the auth-helpneeded milestone Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants