PowerDNS API rrset_name and rrset_type options
Bill G via Pdns-users <[email protected]>
| Newsgroups | gmane.network.dns.powerdns.user |
|---|---|
| Message-ID | <kAktv7OnddlkUlcU6knA_8c__JTn501MiFjodBtAY2Kf7biTuPE7veBZxLha-jqhxjKZbueQv27_5ZmZjysgphBja1Dnjp8-dDo5ctgFoU0=@proton.me> |
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?
Thanks