Re: Dynamic DNS and failed journal

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

 



Brian Chadwick wrote:
Thanks for your comment Paul

The thing is, when bind chroots, it should have writeable access to its own /var/named, which as far as the host is concerned, is actually /var/named/chroot/var/named.

Why should it have write access there? It doesn't by default, and doesn't normally need it (remember that bind is running as user named, not as root).

its needs to know where to load its zone information from, ie. /var/named, then chroots.

No, it chroots first. So you should put your DDNS zone file in /var/named/chroot/var/named/slaves (I expect you have a symlink /var/named/slaves -> /var/named/chroot/var/named/slaves btw).

I cant see how that should be a problem for bind to write to its own /var/named directory. Anyway I tried it, and changed options directory /var/named to /var/named/slaves .... naturally, bind couldnt find zone information ...

Don't change the main directory in the options clause, change the file location for your DDNS zone in its zone clause.

So you have something like:

zone "example.com" IN {
	...
	file "slaves/example.com";
	...
};

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux