Forum Discussion
fubarSUSHI
Altocumulus
Jan 13, 2021How to perform a dig command using iControl?
Im trying to figure out any information on using dig commands or its closest equivalent using iControl?
Satoshi_Toyosa1
Jan 29, 2021Ret. Employee
Ah, we do have /mgmt/tm/util/dig endpoint.
curl -sku admin:admin https://$HOST/mgmt/tm/util/dig \
-X POST -H "Content-type: application/json" \
-d '{"command":"run", "utilCmdArgs":"www.google.com"}' | \
jq -r .commandResult
; <<>> DiG 9.11.8 <<>> www.google.com
;; global options: +cmd
;; Got answer:
...
;; ANSWER SECTION:
www.google.com. 93 IN A 216.58.193.68
...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects