fermi

zz_local_dns_cache - This package configures a host do local dns caching with bind

Website: http://fermilinux.fnal.gov/
License: GPL
Vendor: Fermilab
Description:
Installing this package will reconfigure named to run as a caching nameserver which will only allow connections from localhost. Your /etc/resolv.conf will be modified to call on localhost as primary nameserver.  The dhclient process will be configured to use this nameserver, if present.  Network Manager will be configured to use this nameserver, if present.

You should consider customizing the DNS server search list provided.  When removed you will be restored to using 131.225.0.254 and 8.8.8.8 as SLF is used both on and off site.  If this is not what you want, you will need to customize these.

This package should work on SLF5 and SLF6.

NOTE: it disables dnsmasq to prevent conflicts, if you need dnsmasq do not install this package or figure out how to fix your site after it runs.

        This rpm makes the following assumptions:
        * If this is a fresh install of the rpm, named will be started
          and /etc/resolv.conf will be _replaced_ with the only nameserver
          being '127.0.0.1'
        * If this rpm is updated, it will ensure 'nameserver 127.0.0.1' is in
          /etc/resolv.conf
        * When removed, not upgraded, 131.225.0.254 and 8.8.8.8 are set instead
          unless there is another nameserver already listed.

        * Behavior specific to referenced packages will be execute whenever
          those packages are installed, updated, or removed.
          They consist of: bind NetworkManager dhclient dnsmasq nscd

        * On a bind update, bind will be restarted and the 'stub' zones
          will be reset.  These are the RFC1912 zones.
        * On a bind update, 'nameserver 127.0.0.1' will be added to
          /etc/resolv.conf if not already listed.
        * On a bind update, if nscd is running and chkconfig on, nscd will
          be restarted.

        * On a NetworkManager installation or when zz_local_dns_cache is
          installed for the first time, '127.0.0.1' will be configured as
          the only DNS server for all interfaces whose configuration matches
          /etc/sysconfig/network-scripts/ifcfg-* that are not 'ifcfg-lo'
          When removed, not upgraded, 131.225.0.254 and 8.8.8.8 are set instead

        * On a dhclient installation or when when zz_local_dns_cache is
          installed for the first time, '127.0.0.1' is added the the dhcp
          provided DNS server list.
          When removed, not upgraded, this setting is removed.

        * On a dnsmasq installation or when when zz_local_dns_cache is
          installed for the first time, dnsmasq is disabled.

        * On a dnsmasq installation or when when zz_local_dns_cache is
          installed for the first time, dnsmasq is configured to listen on
          127.0.0.1 if started with the defaul configuration file.
          It should function similarly to bind in this respect
          This feature was requested by people using libvirt/kvm.

        * On a nscd installation or update, if nscd is running and also
          chkconfig on nscd will be restarted.
          If zz_local_dns_cache is removed an if nscd is running and also
          chkconfig on nscd will be restarted.

Packages

zz_local_dns_cache-3-1.3.1.noarch [29 KiB] Changelog by Pat Riehecky (2012-09-28):
- better checks for upgrades of various things
- clearer doc on what triggers are running off of which events and why
- fixed the NetworkManager scripts to only modify controlled interfaces
zz_local_dns_cache-3-1.2.noarch [22 KiB] Changelog by Pat Riehecky (2012-08-10):
- nscd process searches now seach by process ownership.
- resolv.conf settings are more accuratly preserved.
zz_local_dns_cache-3-1.noarch [21 KiB] Changelog by Pat Riehecky (2012-06-15):
- moved most of the config work to a trigger on 'bind'
  this way the config is validated on each update.  This should
  keep things working longer through updates
- made nscd restart silent (oops)
zz_local_dns_cache-3-0.1.noarch [17 KiB] Changelog by Pat Riehecky (2011-12-08):
- fixed a minor chmod problem
- switched search from /etc/sysconfig/network-scripts/ifcfg-eth* to /etc/sysconfig/network-scripts/ifcfg-*|grep -v ifcfg-lo to account for strangly named cards
zz_local_dns_cache-2.0-2.noarch [6 KiB] Changelog by Jason Harrington (2011-05-23):
- Fixed bugs dealing with NetworkManager comments in /etc/resolv.conf
- Added default DNS forwarder when no nameserver list found
- Added eth0-specific domain-name-server prepend for use with NetworkManager
- Added post-uninstall bits to undo dhclient tweaks

Listing created by Repoview-0.6.6-1.el6