bind-chroot not duplicating my forward and reverse tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

Fedora 34
bind-chroot-9.16.16-1.fc34.x86_64


I am trying to clean up my bind-chroot forward and reverse files.

The goal is to have bind-chroot do its thing by duplicating
these two files over into
    /var/named/chroot/var/named/slaves/
with the identical inodes like it does with named.root and named.root.key:

    # stat /etc/named.root.key /var/named/chroot/etc/named.root.key
    ...
    File: /etc/named.root.key
    Inode: 60033354
    ...
    File: /var/named/chroot/etc/named.root.key
    ...
    Inode: 60033354


In my /etc/named.conf, I have

    zone "abc.local" {
	    type master;
            # file "/var/named/chroot/var/named/slaves/abc.hosts";
	    file "slaves/abc.hosts";
            allow-update { key DHCP_UPDATER; };
    };

    zone "255.168.192.in-addr.arpa" {
	    type master;
            # file "/var/named/chroot/var/named/slaves/abc.hosts.rev";
	    file "slaves/abc.hosts.rev";
            allow-update { key DHCP_UPDATER; };
    };


After I stopped
    # systemctl start named-chroot
I copied and moved the following:


Before:
    # find /var/named/ -iname abc.hosts\*
    /var/named/chroot/var/named/slaves/abc.hosts.000
    /var/named/chroot/var/named/slaves/abc.hosts.rev.000

# cp /var/named/chroot/var/named/slaves/abc.hosts /var/named/chroot/var/named/slaves/abc.hosts.000
    # mv /var/named/chroot/var/named/slaves/abc.hosts .
# cp /var/named/chroot/var/named/slaves/abc.hosts.rev /var/named/chroot/var/named/slaves/abc.hosts.rev.000
    # mv /var/named/chroot/var/named/slaves/abc.hosts.rev .
    # find /var/named/ -iname abc.hosts*

After:
    # find /var/named/ -iname abc.hosts\*
    /var/named/slaves/abc.hosts.rev
    /var/named/slaves/abc.hosts
    /var/named/chroot/var/named/slaves/abc.hosts.000
    /var/named/chroot/var/named/slaves/abc.hosts.rev.000


But when I restarted named-chroot, my great plans got dashed:

    # systemctl start named-chroot
    ...
Jun 24 20:35:45 rn6.abc.local bash[83464]: zone abc.local/IN: loading from master file /slaves/abc.hosts faile> Jun 24 20:35:45 rn6.abc.local bash[83464]: zone abc.local/IN: not loaded due to errors. Jun 24 20:35:45 rn6.abc.local bash[83464]: _default/abc.local/IN: file not found Jun 24 20:35:45 rn6.abc.local bash[83464]: zone 255.168.192.in-addr.arpa/IN: loading from master file /slaves/abc.host> Jun 24 20:35:45 rn6.abc.local bash[83464]: zone 255.168.192.in-addr.arpa/IN: not loaded due to errors. Jun 24 20:35:45 rn6.abc.local bash[83464]: _default/255.168.192.in-addr.arpa/IN: file not found Jun 24 20:35:45 rn6.abc.local bash[83464]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700


named-chroot can't find abc.hosts or abc.hosts.rev in
   /var/named/chroot/var/named/slaves

And in case they got copied to somewhere else I did another find:
    # find /var/named/ -iname abc.hosts\*
    /var/named/slaves/abc.hosts.rev
    /var/named/slaves/abc.hosts
    /var/named/chroot/var/named/slaves/abc.hosts.000
    /var/named/chroot/var/named/slaves/abc.hosts.rev.000

No change.

What am I missing?

Many thanks,
-T


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux