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

pdnsutil replace-rrset treating absolute names as relative #13420

Closed
2 tasks done
Zash opened this issue Oct 25, 2023 · 1 comment
Closed
2 tasks done

pdnsutil replace-rrset treating absolute names as relative #13420

Zash opened this issue Oct 25, 2023 · 1 comment
Labels

Comments

@Zash
Copy link
Contributor

Zash commented Oct 25, 2023

  • Program: Authoritative pdnsutil
  • Issue type: Bug report

Short description

pdnsutil replace-rrset seems to append the ZONE to the name argument, presumably to produce an absolute name, but it does this even if you give an absolute name (with trailing .).

Environment

  • Operating system: Debian sid
  • Software version: pdnsutil 4.8.3
  • Software source: Debian sid repositories
  • launch+=gsqlite3

Steps to reproduce

pdnsutil create-zone example.com # prerequisite
pdnsutil replace-rrset example.com. www.example.com. A 60 127.0.0.1

Expected behaviour

Current records for www.example.com IN A will be replaced
New rrset:
www.example.com. 60 IN A 127.0.0.1

Actual behaviour

Current records for www.example.com.example.com IN A will be replaced
New rrset:
www.example.com.example.com. 60 IN A 127.0.0.1

Other information

Discovered on PowerDNS auth 4.7.3 on Debian 12, double checked in a Debian sid container.

@Habbie
Copy link
Member

Habbie commented Jan 23, 2024

closing as a duplicate of #11128

@Habbie Habbie closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 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

2 participants