Re: Using bind for a local caching name server, is this configuration correct?

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

 



stan via users writes:

The command is actually
rndc dumpdb
and redhat has specified a dumpfile in /etc/named.conf as
/var/named/data/cache_dump.db

Would cache entries have the URL name with the IP address?

The dump file will have DNS records in zone file format. An example from mine's:

; glue
hotair.com.             155017  NS      fay.ns.cloudflare.com.
                       155017  NS      pablo.ns.cloudflare.com.

You should see stuff in there that looks like a zone file.




; Start view _default
;
;
; Cache dump of view '_default' (cache _default)
;
$DATE 20190701230228

At this point, my dump file includes all the cached records. Yours appears to not have anything here, so, yes, something's wrong with your caching nameserver.

In the man page for named, it says

 It is not necessary to run named in a chroot environment if the Red
 Hat SELinux policy for named is enabled. When enabled, this policy is
 far more secure than a chroot environment. Users are recommended to
 enable SELinux and remove the bind-chroot package.

How do I tell whether I am using a chroot or SELinux?

If you're using chroot, it's a separate package, the aforementioned bind- chroot.

It's unlikely that SELinux has anything to do with it.

Attachment: pgpl8rMVudP0U.pgp
Description: PGP signature

_______________________________________________
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
[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