---
title: Zonecloud Manual installation (Debian/Ubuntu – Advanced)
description: "### Debian / Ubuntu Instructions We strongly suggest to use Almalinux / Rocky Linux 8 or 9 for DNS Servers (Nodes) with Selinux and chroot-named. Of course you can install Zonecloud Node on Debian or Ubuntu if you feel comfortable…"
url: "https://zonecloud.io/documentation/zonecloud-manual-installation-debian-ubuntu-advanced/"
updated: "2024-10-13"
category: Node (DNS Servers)
---

# Zonecloud Manual installation (Debian/Ubuntu – Advanced)

### Debian / Ubuntu Instructions

      We strongly suggest to use Almalinux / Rocky Linux 8 or 9 for DNS Servers (Nodes) with Selinux and chroot-named.  Of course you can install Zonecloud Node on Debian or Ubuntu if you feel comfortable managing it. We have debian packages too. 

 

First of all, you need to import the GPG key then get the nixpal.list file and just apt-get update:

```
mkdir -p /etc/apt/keyrings/
wget -O /etc/apt/keyrings/nixpal.gpg -q https://repo.nixpal.com/debian/KEY.gpg 
apt-key add /etc/apt/keyrings/nixpal.gpg
wget -O /etc/apt/sources.list.d/nixpal.list https://repo.nixpal.com/debian/nixpal.list 
apt-get update
apt install zcloudnode
```

 

Create a file that the Node will write the zones.
 For debian/ubuntu can be /etc/bind/zones.conf:

```
touch /etc/bind/zones.conf
```

 

Edit /etc/zcloudnode.conf to suit your needs.

Don’t forget to include /etc/bind/zones.conf to named.conf

and enable/start zcloudnode using systemctl.

```
ZONES_FILE=/etc/bind/zones.conf 
SERVER_HOSTNAME=zcloud.server.hostname 
TOKEN=Token_From_zCloud_Server 
UPDATE_INTERVAL=60 
LICENSE=ZCNode-XXXXX 
//LOG LEVEL: ERROR - WARNING - INFO -DEBUG 
LOG_LEVEL=DEBUG 
RNDC_PATH=/usr/sbin/rndc 
ZONE_TEMPLATE=zone "[%DOMAIN_NAME%]" {nttype slave;ntfile "slaves/[%DOMAIN_NAME%].db";ntmasters { [%SERVER_IP%]; };n};n
```

 
