diff --git a/README.md b/README.md index f6a19fec6fbc9e2690d4a71d70ed4db741f83f14..451f0e266ba99bc1ed14520a5fc13063ab89364a 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