cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Highlighted

List all domain names (bash script)

Overview

A bash script that list all the domain names in a multi-domain server.

Description

The script logs into the MDS domain and then calls the "show-domains" API.

It could make multiple calls to this API because each API call is limited in the number of domains it returns.

Instructions

place the bash script on the multi-domain server and run it.

Provide credentials for an admin who is allowed to login to the MDS.

Code Version

Code version 0.0.0

Tested on version

R80, API version 1.0

NOTICE: By using this sample code you agree to terms and conditions in this Terms and Conditions

...

Tags (1)
0 Kudos