From 8744a84d72163712bb37184064af91a7dde6f8f3 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Thu, 15 Sep 2022 11:05:51 +0200 Subject: [PATCH] update readme --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f6a19fe..451f0e2 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Institute for Medical Education; University of Bern * Bash * curl in $PATH -* jq in $PATH (optional for coloring json data) +* jq in $PATH (optional for coloring json data; and a must for show_ttl.sh) ## Installation @@ -74,7 +74,7 @@ Between the json data are lines starting with a semikolon - these are comments written to STDERR. To hide them add a 2>/dev/null to hide the comments. ```txt -./dns-search.sh www.iml.unibe.ch +> ./dns-search.sh www.iml.unibe.ch ; ; >>>>>>>>>> INFOBLOX DNS SEARCH v1.5 ; @@ -115,14 +115,18 @@ written to STDERR. To hide them add a 2>/dev/null to hide the comments. This helper searches for all **host** entries that override the default ttl value for the zone objects. +This functionality requires `jq`. + ```txt +> ./show_ttls.sh ->>>>>>>>>> INFOBLOX DNS HELPER: TTL v1.0 +>>>>>>>>>> INFOBLOX DNS HELPER: TTL v1.1 Search for hostnames in Infoblox API and show all hosts that have an activated custom ttl value. It uses dns-api.sh and adds the return field for aliases. +The filter functionality of json data requires jq. SYNTAX: dns-search.sh REGEX -- GitLab