If you can't use git then go to <https://git-repo.iml.unibe.ch/iml-open-source/infoblox-dns-helperscripts/-/tree/master> and download an archive in the wanted format. The download button is on top right of the table with file entries.
### Setup api url and credentials
* copy inc_ib_config.sh.dist to inc_ib_config.sh
* edit inc_ib_config.sh and enter hsotname of server with API and the credentials to access it
* edit inc_ib_config.sh and enter hostname of server with API and the credentials to access it
## Usage
...
...
@@ -29,7 +46,7 @@ Search for aliases and hosts.
```text
./dns-search.sh
>>>>>>>>>> INFOBLOX DNS SEARCH v1.5
>>>>>>>>>> INFOBLOX DNS SEARCH v1.6
Search for hostnames or aliases in Infoblox API
It uses dns-api.sh and adds the return field for aliases.
...
...
@@ -76,15 +93,16 @@ written to STDERR. To hide them add a 2>/dev/null to hide the comments.
```txt
> ./dns-search.sh www.iml.unibe.ch
;
; >>>>>>>>>> INFOBLOX DNS SEARCH v1.5
; >>>>>>>>>> INFOBLOX DNS SEARCH v1.6
;
; search for type :
; search regex : www.iml.unibe.ch
;
; === DNS API :: GET /record:host?name~=www.iml.unibe.ch&_return_fields%2B=aliases,ttl
; === DNS API :: GET /record:host?name~=www.iml.unibe.ch&_return_fields%2B=aliases,ttl,comment