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

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

...

0 Kudos
0 Replies

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events