---
title: Catalog.DNSServer.ZoneFiles
slug: ps/help/en_us/vtm/controlapi/catalogdnsserverzonefiles
docTags: 
createdAt: 2026-08-02T08:52:22.019Z
---

URI: http\://soap.zeus.com/zxtm/1.0/Catalog/DNSServer/ZoneFiles/

The Catalog.DNSServer.ZoneFiles interface allows management of the DNS zone files stored in the conf/dnsserver/zonefiles directory.

### Methods

### deleteFile( names ) throws ObjectDoesNotExist, ObjectInUse, DeploymentError

Delete the named DNS zone files from the conf/dnsserver/zonefiles directory.

```bash
void deleteFile(
String[] names
)
```

### downloadFile( name ) throws ObjectDoesNotExist, ObjectInUse, DeploymentError

Download the named configuration file from the conf/dnsserver/zonefiles directory.

```bash
Binary Data downloadFile(
String name
)
```

### getFileNames()

Get the names of all the DNS zone files stored in the conf/dnsserver/zonefiles directory.

```bash
String[] getFileNames()
```

### uploadFile( name, content ) throws InvalidObjectName, DeploymentError

Uploads a new DNS zone file into the conf/dnsserver/zonefiles, overwriting the zone file if it already exists.

```bash
void uploadFile(
String name
Binary Data content
)
```
