BIND server and DNS service on QNAP TS-453mini

       295 words, 2 minutes

QTS 4.x and the App Center have many applications et services available for Qnap. But there don’t seem to be a stand-alone DNS service. DNS can be enabled when configuring QNAP as a Domain Controller but -1- I don’t need a DC -2- that feature seems to go down quite often. So let’s run the good old BIND boy.

First of all, we need to add an extra application repository. Log into DSM and start the “App Center”. Click the « Settings » icon, select “App Repository” and click “Add”.

The repository URL is “" . When done, close the dialog box and click the “Refresh” button.

On the left pane, select the “Qnap Club (EU)” icon and search for “Bind”. Then click on the “Install” button. When installation is done, click the “Open” button beneath the Bind icon.

You won’t get much from the GUI. Everything happens under the hood. So now, connect to the Qnap using SSH remote connection.

BIND things are stored in “/share/CACHEDEV1_DATA/.qpkg/Bind/”. So edit “etc/named.conf” as you would usually do, create the zone files …

When everything is configured, start the daemon and check it has been enabled for starting on reboot:

# /share/CACHEDEV1_DATA/.qpkg/Bind/ start

# grep -A 5 Bind /etc/config/qpkg.conf
Name = Bind
Class = null
Status = complete
Version =
Author = Guerithault Stephane (QoolBox)
QPKG_File = Bind.qpkg
Date = 2016-08-23
Shell = /share/CACHEDEV1_DATA/.qpkg/Bind/
Install_Path = /share/CACHEDEV1_DATA/.qpkg/Bind
RC_Number = 101
<b>Enable = TRUE</b>
store = 4154e20ca5ad5b47997b516ed746c87c

# ps -aef | grep named
23080 admin 17964 S ./named

# /share/CACHEDEV1_DATA/.qpkg/Bind/bin/dig @ +short

Et voilà. BIND is now up and running on the Qnap.

Note for later: The file could be modify to enable things like chroot and running “named” as something else than “admin”.