Skip to content
Snippets Groups Projects
Commit af3bb5c7 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update docs

parent 02617bfc
No related branches found
No related tags found
No related merge requests found
# Infoblox Dns Helperscripts # Infoblox Dns Helperscripts
Institute for Medical Education; University of Bern Search for hosts and aliases in host objects and names in cname objects
in the infoblox dns api and show the result as json.
Source: https://git-repo.iml.unibe.ch/open-source/infoblox-dns-helperscripts Institute for Medical Education; University of Bern
License: GNU GPL 3.0 📄 Source: <https://git-repo.iml.unibe.ch/open-source/infoblox-dns-helperscripts>\
📜 License: GNU GPL 3.0
## Requirements ## Requirements
...@@ -20,14 +22,6 @@ License: GNU GPL 3.0 ...@@ -20,14 +22,6 @@ License: GNU GPL 3.0
## Usage ## Usage
### dns-api.sh
Low level command to access the api
`dns-api.sh [METHOD] URL`
This script is used by dns-search.sh. Maybe you don't want to execute it directly.
### dns-search.sh ### dns-search.sh
Search for aliases and hosts. Search for aliases and hosts.
...@@ -38,7 +32,7 @@ Search for aliases and hosts. ...@@ -38,7 +32,7 @@ Search for aliases and hosts.
Search for hostnames or aliases in Infoblox API Search for hostnames or aliases in Infoblox API
It uses dns-api.sh and adds the return field for aliases. It uses dns-api.sh and adds the return field for aliases.
SYNTAX: dns-search.sh [name|alias] REGEX SYNTAX: dns-search.sh [name|alias|cname] REGEX
EXAMPLES: EXAMPLES:
...@@ -56,8 +50,19 @@ The search supports regex: ...@@ -56,8 +50,19 @@ The search supports regex:
dns-search.sh name "^(connector|examinator).*measured.stage" dns-search.sh name "^(connector|examinator).*measured.stage"
(4) (4)
Lazy mode: do not add name or alias to start 2 requests to search in name and Lazy mode: do not add name or alias or cname to start 3 requests to search
alias fields in all object types
dns-search.sh ufive dns-search.sh ufive
Search for hostnames or aliases in Infoblox API
It uses dns-api.sh and adds the return field for aliases.
``` ```
### dns-api.sh
Low level command to access the api
`dns-api.sh [METHOD] URL`
This script is used by dns-search.sh. Maybe you don't want to execute it directly.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment