- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Using query_fqdn_on_member to look up SOA records
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 08:30 AM
I would like to use query_fqdn_on_member to look up records on DNS servers outside my org - I'm especially interested in SOA-records. The GUI ("Dig request") allows me to overrule the list of record types, and type in "SOA" and click "Perform dig" - so even though SOA is not listed, I can still look it up. But in the API an error is returned:
"Error": "AdmConProtoError: Invalid value for record_type (\"SOA\") valid values are: ANY, A, AAAA, CNAME, DNAME, MX, NAPTR, NS, PTR, SRV, TXT, AXFR"
To be honest this is highly frustrating, since the GUI allows it (and the arguments are just handed off to `dig` that does support the SOA)
Any suggestions?
Cheers,
Anders
Re: Using query_fqdn_on_member to look up SOA records
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 07:14 AM
Your choices are limited unfortunately.
You could maybe SSH into the appliance and run a dig command at the CLI. It can be scripted with Expect.
Re: Using query_fqdn_on_member to look up SOA records
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 12:49 AM
Thanks for your reply!
As a developer myself, I'm puzzled why this limitation is in place, when it's not present in the GUI. I can't stop thinking that the developer didn't see that the list could be overruled in the GUI and therefore thought that it was necessary to limit it in the API as well ;-)
Cheers,
Anders