Steps to reload zone files automatically?

Erich Eckner bind at eckner.net
Wed Jul 1 07:21:16 UTC 2020


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, 1 Jul 2020, Harshith Mulky wrote:

> Hello

Hi,

> Is there an automatic way we could use reloading the zone files rather than
> using rndc reload or named restart?

Shouldn't the design be, that: Whoever changes the zone file, runs "rndc 
reload" afterwards?

> 
> Any methods or links which can be shared to help us reload the zone files
> automatically once we make changes to the zone files ( cron methods or shell
> scripts)

If you really want to go that path (see suggestion above), have a look at 
inotifywait from inotifytools (I'm not sure, how the package is called in 
suse):

https://linux.die.net/man/1/inotifywait

> 
> We are running bind with version as below
> 
> # rpm -qi bind
> Name        : bind
> Version     : 9.9.5P1
> Release     : 2.2.2
> Architecture: x86_64
> Install Date: Tue Oct 17 16:46:22 2017
> Group       : Productivity/Networking/DNS/Servers
> Size        : 747523
> License     : ISC
> Signature   : RSA/SHA256, Tue Oct  7 04:18:01 2014, Key ID b88b2fd43dbdc284
> Source RPM  : bind-9.9.5P1-2.2.2.src.rpm
> Build Date  : Tue Oct  7 04:17:04 2014
> Build Host  : cloud124
> Relocations : (not relocatable)
> Packager    : http://bugs.opensuse.org
> Vendor      : openSUSE
> URL         : http://isc.org/sw/bind/
> Summary     : Domain Name System (DNS) Server (named)
> Description :
> Berkeley Internet Name Domain (BIND) is an implementation of the Domain
> Name System (DNS) protocols and provides an openly redistributable
> reference implementation of the major components of the Domain Name
> System.  This package includes the components to operate a DNS server.
> Distribution: openSUSE 13.2
> sataradnsVM1:~ #
> 
> 
>

regards,
Erich

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3p92iMrPBP64GmxZCu7JB1Xae1oFAl78OW8ACgkQCu7JB1Xa
e1poQRAAuGVb4Nr+qv82wtzIGkgXElOY8fW+kWf0p8UbZAiQZvVK25RlSytbmO2e
A5Ie7ttJbMDM3qwSJfN69eDj3h8ctL6pVtsazIMUJpT8jGKvncHbm5xLyJUgCWt0
/GaO9gvwthbkmkfA5TyWPAk8SdeHDFS03RsbHcONs2MWwmUYWBeooX3N48DwX6r+
DlNJVIyAi3H2ApT2V/BZ+XTqE5wW9IPZbUqB9wwzzIib+pRq3EOoBpLnXMMZsI96
IJu/7mpTaV8XtY6K8Q+LeAdg86PrXlwg3sgd4ss0b9VkwvH3dELqMPn4I6DwfFkM
4H1AZU413udKx0R4a9CEZfBPHOo0IHAEZsAV3A0gi8/HUU4pUZVhHXza0I5imgHc
rXyl/g6dXhPx/pYIWZmLACYkyNQoJNZEvek9dLn9+ywy2C/jr4H7ivIC1q3I2og5
IaKNHSv6l9VqHK03fCjpm+xxSY5U758N1oReS7khJnBWPGNUh5jLYnC/NXUgEz5a
4hx7K/Syg+WXfAH3TZPx+RCbARNcP7dz3sbpRWu7J6eL4Zhxmht2RcsMtSB2Ckpv
dgZ4/5zD3e0Fi0xDyvnfEoNMp8ihBYUrsvL7vUJXv7ek/VMG6QHJSKxk0U94/io6
xQZXizzvgeHWnYsaWhnR/NkVyyk23R3v+czHf+In5/iOeNU/S/c=
=uZm6
-----END PGP SIGNATURE-----


More information about the bind-users mailing list