BIND 9.16.30 - $INCLUDE file in the rpz zone file not reloading content and dig not working

Petr Menšík pemensik at redhat.com
Fri Mar 24 13:29:19 UTC 2023


Have you checked named has permissions to read the file you have modified?

Just rndc reload should catch modified files. You can also specify just 
the zone modified.

Is there any output in journalctl -xeu named about those changes? Try 
dig @localhost example.org soa to check which version is loaded. Command 
"rndc zonestatus example.org" might help too. Replace example.org with 
your zone name.

Try also "sudo -u bind named-checkconf -z". Modify -u bind to other user 
if that is not the username of running named.service. If that does not 
report anything useful, then consult journalctl.

Cheers,
Petr

On 3/20/23 04:53, Nagesh Thati wrote:
> HI,
> I am still not able to reload the named with the $include file updated 
> content. Any help would be appreciated.
> Thanks.
>
> On Fri, Mar 17, 2023 at 12:43 PM Nagesh Thati <tcpnagesh at gmail.com> wrote:
>
>     Hi,
>     I tried syntax, but it didn't work.
>     Thanks.
>
>     On Fri, Mar 17, 2023 at 11:41 AM Sachchidanand Upadhyay
>     <sa4.sp-dl at nkn.in> wrote:
>
>         Hi,
>
>           Have you checked the syntax?
>
>           try this:
>
>         /$INCLUDE "/var/named/zones/masters/rpz.local.data";/
>         /
>         /
>         /Regards,/
>         /Sachchidanand/
>
>         ------------------------------------------------------------------------
>         *From: *tcpnagesh at gmail.com
>         *To: *m3047 at m3047.net
>         *Cc: *bind-users at lists.isc.org
>         *Sent: *Friday, March 17, 2023 9:18:32 AM
>         *Subject: *Re: BIND 9.16.30 - $INCLUDE file in the rpz zone
>         file not reloading content and dig not working
>
>         Thanks for the reply Fred Morris,
>         Yes, even after serial number increment and reconfig and
>         reload also not picking up the include file data.
>
>
>         On Fri, Mar 17, 2023 at 2:45 AM Fred Morris <m3047 at m3047.net>
>         wrote:
>
>             Hello
>
>             On Thu, 16 Mar 2023, Nagesh Thati wrote:
>             > [...]
>             > When named is restarted using systemctl above rpz rules
>             are working fine,
>             > but when I add a new rule *nagesh3.com
>             <http://nagesh3.com> <http://nagesh3.com> A 3.4.5.6
>             > * manually in
>             > the include file and run "rndc reconfig and rndc
>             reload", named is not
>             > picking up the updated include file and *nagesh3.com
>             <http://nagesh3.com> <http://nagesh3.com>* rpz
>             > rule is not working.
>
>             Are you incrementing the SOA serial number?
>
>             --
>
>             Fred Morris, internet plumber
>
>             -- 
>             Visit https://lists.isc.org/mailman/listinfo/bind-users to
>             unsubscribe from this list
>
>             ISC funds the development of this software with paid
>             support subscriptions. Contact us at
>             https://www.isc.org/contact/ for more information.
>
>
>             bind-users mailing list
>             bind-users at lists.isc.org
>             https://lists.isc.org/mailman/listinfo/bind-users
>
>
>         -- 
>         Visit https://lists.isc.org/mailman/listinfo/bind-users to
>         unsubscribe from this list
>
>         ISC funds the development of this software with paid support
>         subscriptions. Contact us at https://www.isc.org/contact/ for
>         more information.
>
>
>         bind-users mailing list
>         bind-users at lists.isc.org
>         https://lists.isc.org/mailman/listinfo/bind-users
>
>
-- 
Petr Menšík
Software Engineer, RHEL
Red Hat,https://www.redhat.com/
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20230324/23a9ca79/attachment.htm>


More information about the bind-users mailing list