You can retrieve a list of all secondary domain names in your account using either the UltraDNS API or the UltraDNS Portal.
Using the API
- Get a list of all secondary domains in the account.
v3/zones?q=zone_type:SECONDARY+zone_status:ALL&limit=1000- The maximum limit is 1000, so if your account contains more than 1000 secondary domains, repeat the API call until all zones are returned.
- Call the export API.
v2/zones/export- Request body example:
{"zoneNames":["zone.com."]} - Pass up to 250 zones from step 1 in each export request.
- This can be automated using a loop in a Python script.
- Go to the Tasks section in the portal to download the files.
Using the Portal
- Go to the Domains page.
- Set the pagination to 250 at the bottom of the page.
- Filter on Secondary domain type.
- Select all domains using the checkbox under +Add Domain, to the left of Domain.
- Click Export.
- Click the right arrow next to the pagination.
- Repeat steps 3 through 6 for the next list of 250 zones to export.