Back to blog

How to install and configure Bind on HestiaCP with zone validation and AppArmor control

3/12/2025 · 1 min · HestiaCP

Share

Some HestiaCP hosts run without fully functional Bind, causing partial DNS state. This is the production procedure I use to install and integrate Bind reliably.

Core steps

  1. install bind9 + utilities;
  2. set ownership/permissions;
  3. adjust AppArmor profile;
  4. validate config before restart;
  5. rebuild Hestia DNS zones;
  6. validate each zone and local resolution.

Key commands

named-checkconf
named-checkzone example.com /home/USER/conf/dns/example.com.db
dig +short NS example.com @127.0.0.1

Final takeaway

Reliable Bind integration in HestiaCP depends on permission model, AppArmor, zone rebuild, and strict validation before reload.

CC BY-NC

This post is licensed under CC BY-NC.

Comments

Join the discussion below.