Skip to main content
Flexible Top Header
Solved

Finding the DNS View for a Resource Record

  • March 19, 2026
  • 2 replies
  • 11 views

rharolde
Forum|alt.badge.img+5

When searching for a Resource Record in the API, how can I limit it to a particular DNS View?  Or if I find all records, how can I tell which View each record belongs to?  The Configuration is included as a value in the object, but the View seems to be missing.  Do I have to climb the tree up to the view each time?  That would be several API calls for each and every record.

Best answer by tmaestas

view is part of the returned resourceRecord object in 25.1.2  Unfortunately prior to that (at least in 9.5.x, I don’t have a 9.6 box handy to check) it is not.

2 replies

Forum|alt.badge.img+3
  • Trusted Resolver
  • Answer
  • March 19, 2026

view is part of the returned resourceRecord object in 25.1.2  Unfortunately prior to that (at least in 9.5.x, I don’t have a 9.6 box handy to check) it is not.


rharolde
Forum|alt.badge.img+5
  • Author
  • DNS/DHCP/IPAM at U of Michigan
  • March 19, 2026

Thanks.  I don’t see it in 9.6.3, but knowing that the problem has been recognized and solved is great.  I can work around it until then.