- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
11-13-2023 10:00 PM
Hi All
I'm busy trying to extra IP's from my fqdn addresses.
Wondering if i could get some guidance.
I've done the set address
set address ht-autodesk.com fqdn autodesk.com
What i'd like to get out of this is resolution IP's for this fqdn.
As i don't want to go via the GUI and extract 1 by one.
I have 7 address groups applied to a policy with any where between 1-20 fqdn's applied.
If there is a way to run a command to extra from the address group as well for the above that would be great.
e.g this address group, extract IPs for fqdn's
fqdn autodesk.com IP 23.21.189.113
fqdn autodesk.com IP 50.19.149.4
....
Thanks
11-14-2023 06:03 AM
Hi @Jeffrey_Makuch ,
There is CLI command that will give you all FQDN objects:
> show dns-proxy fqdn all
One way would be to copy the output and part it with a little help of regext and tex editor.
Or you may try to search for the XML API that will execute the same command and return XML output, which will again need some parsing. I don't have access to FW at the moment to check myself, but you should be able to search for it in the Use the API Browser (paloaltonetworks.com)
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!