Package: bind9
Version: 1:9.7.3.dfsg-1~squeeze3
Severity: important


-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bind9 depends on:
ii  adduser          3.112+nmu2              add and remove users and groups
ii  bind9utils       1:9.7.3.dfsg-1~squeeze3 Utilities for BIND
ii  debconf [debconf 1.5.36.1                Debian configuration management sy
ii  libbind9-60      1:9.7.3.dfsg-1~squeeze3 BIND9 Shared Library used by BIND
ii  libc6            2.11.2-10               Embedded GNU C Library: Shared lib
ii  libcap2          1:2.19-3                support for getting/setting POSIX.
ii  libdb4.8         4.8.30-2                Berkeley v4.8 Database Libraries [
ii  libdns69         1:9.7.3.dfsg-1~squeeze3 DNS Shared Library used by BIND
ii  libgssapi-krb5-2 1.8.3+dfsg-4squeeze1    MIT Kerberos runtime libraries - k
ii  libisc62         1:9.7.3.dfsg-1~squeeze3 ISC Shared Library used by BIND
ii  libisccc60       1:9.7.3.dfsg-1~squeeze3 Command Channel Library used by BI
ii  libisccfg62      1:9.7.3.dfsg-1~squeeze3 Config File Handling Library used 
ii  libldap-2.4-2    2.4.23-7.2              OpenLDAP libraries
ii  liblwres60       1:9.7.3.dfsg-1~squeeze3 Lightweight Resolver Library used 
ii  libssl0.9.8      0.9.8o-4squeeze1        SSL shared libraries
ii  libxml2          2.7.8.dfsg-2+squeeze1   GNOME XML library
ii  lsb-base         3.2-23.2squeeze1        Linux Standard Base 3.2 init scrip
ii  net-tools        1.60-23                 The NET-3 networking toolkit
ii  netbase          4.45                    Basic TCP/IP networking system

bind9 recommends no packages.

Versions of packages bind9 suggests:
ii  bind9-doc        1:9.7.3.dfsg-1~squeeze3 Documentation for BIND
ii  dnsutils         1:9.7.3.dfsg-1~squeeze3 Clients provided with BIND
pn  resolvconf       <none>                  (no description available)
pn  ufw              <none>                  (no description available)

-- Configuration Files:
/etc/bind/named.conf.local changed:
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
include "/etc/bind/h2n.out/named.conf.matt";

/etc/bind/named.conf.options changed:
options {
        directory "/var/cache/bind";
        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
        // If your ISP provided one or more IP addresses for stable 
        // nameservers, you probably want to use them as forwarders.  
        // Uncomment the following block, and insert the addresses replacing 
        // the all-0's placeholder.
        forwarders {
                139.130.4.4;
        };
        // Set the forwarded query source port to 53 - rather than random
        // query-source address * port 53;
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
};

/etc/init.d/bind9 changed:
PATH=/sbin:/bin:/usr/sbin:/usr/bin
RESOLVCONF=no
test -f /etc/default/bind9 && . /etc/default/bind9
test -x /usr/sbin/rndc || exit 0
. /lib/lsb/init-functions
PIDFILE=/var/run/named/named.pid
check_network() {
    if [ -x /usr/bin/uname ] && [ "X$(/usr/bin/uname -o)" = XSolaris ]; then
        IFCONFIG_OPTS="-au"
    else
        IFCONFIG_OPTS=""
    fi
    if [ -z "$(/sbin/ifconfig $IFCONFIG_OPTS)" ]; then
       #log_action_msg "No networks configured."
       return 1
    fi
    return 0
}
case "$1" in
    start)
        log_daemon_msg "Starting domain name service..." "bind9"
        modprobe capability >/dev/null 2>&1 || true
        # dirs under /var/run can go away on reboots.
        mkdir -p /var/run/named
        chmod 775 /var/run/named
        chown root:bind /var/run/named >/dev/null 2>&1 || true
        if [ ! -x /usr/sbin/named ]; then
            log_action_msg "named binary missing - not starting"
            log_end_msg 1
        fi
        if ! check_network; then
            log_action_msg "no networks configured"
            log_end_msg 1
        fi
        if start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/named \
                --pidfile ${PIDFILE} -- $OPTIONS; then
            if [ "X$RESOLVCONF" != "Xno" ] && [ -x /sbin/resolvconf ] ; then
                echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.named
            fi
            log_end_msg 0
        else
            log_end_msg 1
        fi
    ;;
    stop)
        log_daemon_msg "Stopping domain name service..." "bind9"
        if ! check_network; then
            log_action_msg "no networks configured"
            log_end_msg 1
        fi
        if [ "X$RESOLVCONF" != "Xno" ] && [ -x /sbin/resolvconf ] ; then
            /sbin/resolvconf -d lo.named
        fi
        pid=$(/usr/sbin/rndc stop -p | awk '/^pid:/ {print $2}') || true
        if [ -z "$pid" ]; then          # no pid found, so either not running, 
or error
            pid=$(pgrep -f ^/usr/sbin/named) || true
            start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/named \
                    --pidfile ${PIDFILE} -- $OPTIONS
        fi
        if [ -n $pid ]; then
          while kill -0 $pid 2>/dev/null; do
            log_progress_msg "waiting for pid $pid to die"
            sleep 1
          done
        fi
        log_end_msg 0
    ;;
    reload|force-reload)
        log_daemon_msg "Reloading domain name service..." "bind9"
        if ! check_network; then
            log_action_msg "no networks configured"
            log_end_msg 1
        fi
        /usr/sbin/rndc reload >/dev/null && log_end_msg 0 || log_end_msg 1
    ;;
    restart)
        if ! check_network; then
            log_action_msg "no networks configured"
            exit 1
        fi
        $0 stop
        $0 start
    ;;
    
    status)
        ret=0
        status_of_proc -p ${PIDFILE} /usr/sbin/named bind9 2>/dev/null || ret=$?
        exit $ret
        ;;
    *)
        log_action_msg "Usage: /etc/init.d/bind9 
{start|stop|reload|restart|force-reload|status}"
        exit 1
    ;;
esac
exit 0


-- debconf information:
  bind9/different-configuration-file:
  bind9/run-resolvconf: true
  bind9/start-as-user: bind



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to