H-Sphere Documentation Sysadmin Guide

 

Bind 9.3

 

Related Docs:   DNS Server Configuration

This document outlines some peculiarities of Bind 9.3 in comparison with Bind 8.x.

 

New Features

  • Bind 9.3 is started/stopped/restarted via hsphere-daemontools-0.76-1, the package built on the basis of DJB daemontools. This package is included into H-Sphere installation and is used with the H-Sphere mail service package.
  • The named daemon is administered by the rndc utility, not by ndc.
  • ndc restart is no longer supported.

 

Restart

Since Bind 9.3, the Daemon Tools' svc utility is called in the named daemon to stop, start and restart.

The procedure of stopping/starting/restarting named remains the same. However, you may use Bind stop/start/restart using svc as an alternative:

Enter the /service directory:

cd /service

This directory is used by daemontools and contains symlinks to standard service directories.

  • To stop Bind, run:

    /command/svc -kd named

  • To start Bind, run:

    /command/svc -u named

This sequence is equivalent to restarting named.

 

Using rndc

Bind includes a utility called rndc which allows you to use command line statements to administer the named daemon, locally, or remotely.

Managing DNS Zones

1) To reload a DNS zone:

rndc reload <ZONE>

2) To reload all DNS zones:

rndc reload

After that, only changed zones will be reloaded.

3) To suspend updates to a dynamic zone:

rndc freeze <ZONE>

4) To enable updates to a frozen dynamic zone and reload it:

rndc thaw <ZONE>

Run rndc for more options.

rndc Config File

/etc/rndc.conf

If rndc is unable to connect to named, check the /etc/rndc.conf and /etc/named.conf. For details on rndc configuration, run:

rndc-confgen

WARNING:
It is strongly unrecommended to manually edit the configuration files, as it may lead to misconfiguration in dynamic zone updates!


Related Docs:   DNS Server Configuration





User comments
No comments for this page.
Add comment


Home   Products   Services   Partners   Support   News   Contact   Forum
© 2020 psoft.net
All rights reserved.