Re: PowerDNS API rrset_name and rrset_type options

Bill G via Pdns-users <[email protected]>
Newsgroups gmane.network.dns.powerdns.user
Message-ID <8GzqRTdvKgGtwhyW_T3Uio1tpkR-T34DqNIlmF8CFJk2UFWUDaA8o3Zt7tfZALD70C15XRabIGmyguNP4m4qSN-1cRxBR2Tfn8of7--9RAI=@proton.me>
I use version 4.9.1.

On Tuesday, June 18th, 2024 at 11:54 AM, Kevin P. Fleming via Pdns-users <[email protected]> wrote:

> On Tue, Jun 18, 2024, at 05:48, Bill G via Pdns-users wrote:
> 
> > When I call the PowerDNS API on a subzone on
> > /servers/{server_id}/zones/{zone_id} with the rrset_name and rrset_type
> > options, it still returns all RRs. I would expect it to only return the
> > RR that match the name and type. The other RRs that are returned don't
> > have a content value, but they are still returned in the rrsets list.
> > 
> > I call the API like this:
> > curl -X GET -H "X-API-Key: 123456"
> > "http://localhost/api/v1/servers/localhost/zones/dkim.example.com.?rrset_name=bounces1.dkim.example.com.&rrset_type=TXT"
> > 
> > Is this expected behavior?
> 
> 
> It's definitely not what I would expect given the documentation. What version of PowerDNS Auth are you using?
> _______________________________________________
> Pdns-users mailing list
> [email protected]
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.