Your message dated Sat, 01 Oct 2005 13:47:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#304528: fixed in pdns 2.9.18-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Apr 2005 20:04:12 +0000
>From [EMAIL PROTECTED] Wed Apr 13 13:04:10 2005
Return-path: <[EMAIL PROTECTED]>
Received: from outbound02.telus.net (priv-edtnes10.telusplanet.net) 
[199.185.220.221] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DLo5q-0003RU-00; Wed, 13 Apr 2005 13:04:10 -0700
Received: from tor.lat ([205.250.104.75]) by priv-edtnes10.telusplanet.net
          (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP
          id <[EMAIL PROTECTED]>
          for <[EMAIL PROTECTED]>; Wed, 13 Apr 2005 14:03:38 -0600
Received: by tor.lat (Postfix, from userid 1001)
        id 62C961207C5; Wed, 13 Apr 2005 13:03:35 -0700 (PDT)
Received: from [192.168.179.9] (kas.ruz.lat [192.168.179.9])
        by tor.lat (Postfix) with ESMTP id 68EC812036C
        for <[EMAIL PROTECTED]>; Wed, 13 Apr 2005 13:03:34 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v619.2)
To: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Content-Type: multipart/mixed; boundary=Apple-Mail-24--176058414
From: [EMAIL PROTECTED]
Subject: Automate PowerDNS Recursors
Date: Wed, 13 Apr 2005 13:03:31 -0700
X-Mailer: Apple Mail (2.619.2)
X-Face: #..0OTm4cDCHwG[!aCF/-vw$N5mfb58T+T\IP+^JU{FpY!%;y6(71_LfzLJn6Q)3th4.Db{
        
e4P)Cjq&5t~_<"OJ<+*5:($4eJck-+`;C%SnMgY}PN[(j;&O8Y(WY=cZm;}<(P_7p8V7E%.8i(;-Ga
        
W)>KDF0sJO!ap4-:fcXd=jq,fb-&)KiBd9)F`rD42:p.\k/t%,V3^fGMyb[8w$K{f3>[/[EMAIL 
PROTECTED]
        @kf|_a''|[n6:CJ8&_$1e(rp8jj0bj\lw6z`-9;0Pw!cd$/)SnC'9;vjC2?%11+rPmw
X-Hashcash: 1:20:050413:[EMAIL PROTECTED]::q69c3fz2sxXOFSfy:000000000000000
        00000000000000000000000005x7
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.2 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
        HAS_PACKAGE,NO_REAL_NAME autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


--Apple-Mail-24--176058414
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
        charset=US-ASCII;
        format=flowed

Package: resolvconf
Version: 1.27
Severity: wishlist
Tags: patch

I use PowerDNS & wish that, like Bind, its list of recursors could be 
automatically updated by Resolvconf.

Please find attached a script to do just this - it is based on 
/etc/resolvconf/update.d/bind & belongs in the same directory.

Many thanks - Resolvconf is awesome!

Jack


--Apple-Mail-24--176058414
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
        x-unix-mode=0755;
        name="pdns"
Content-Disposition: attachment;
        filename=pdns

#!/bin/sh
# Script to automate PowerDNS recursors configuration fragment
#
# Runs even if PowerDNS not running.
# If PowerDNS is installed, build recursors configurtaion in case
# PowerDNS is started later.
#
# Assumption: On entry, PWD contains resolv.conf format records
#
# Licensed under the GNU GPL. See /usr/share/common-licenses/GPL
#
# History: April 2005 - Written by Jack Bates <[EMAIL PROTECTED]>
# Basicly stolen from script written by Thomas Hood <[EMAIL PROTECTED]>

set -e
PATH=/bin:/sbin

[ -x /usr/sbin/pdns_server ] || exit 0
[ -x /lib/resolvconf/list-records ] || exit 1

RUNDIR=/var/run/powerdns
[ -d "$RUNDIR" ] || mkdir --parents --mode=0755 "$RUNDIR"

CONFFILE="$RUNDIR/pdns.recursors"
TMPFILE="${CONFFILE}_new.$$"

RECORDS=`/lib/resolvconf/list-records | sed '/^lo/d'`

# Remove $TMPFILE now & upon exit
clean_up() {
        rm -f "$TMPFILE"
}
trap clean_up EXIT
clean_up

# Using sed, convert nameserver lines to recursor statements
# & print only unique statements
if [ "$RECORDS" ]; then
        sed -n "
                # Substitude recursor statements for nameserver lines
                s/^nameserver[[:space:]]\+/recursor=/
                # If no substitution - not a nameserver line - skip line
                T
                # Append hold space - previous recursor statements
                # - to pattern space
                G
                # Check for two same lines - delete pattern space
                # & goto next line if so
                /\(^.*\n\).*\1/d
                # Copy pattern space - including current line - to hold space
                h
                # Print pattern space up to first embedded newline
                # - the current line
                P
        " $RECORDS > $TMPFILE
fi

if [ "$1" = "-i" ]; then
        mv -f "$TMPFILE" "$CONFFILE"
        exit 0
fi

# If $CONFFILE & $TMPFILE differ, replace $CONFFILE & reload PowerDNS
if ! [ -f "$CONFFILE" ] || ([ -x /usr/bin/diff ] && ! /usr/bin/diff -q 
"$CONFFILE" "$TMPFILE" > /dev/null); then
        mv -f "$TMPFILE" "$CONFFILE"

        # If PowerDNS is running, reload it
        ps -C pdns_server > /dev/null && [ -x /etc/init.d/pdns ] && 
/etc/init.d/pdns reload > /dev/null 2>&1 || :
fi

--Apple-Mail-24--176058414--


---------------------------------------
Received: (at 304528-close) by bugs.debian.org; 1 Oct 2005 20:52:19 +0000
>From [EMAIL PROTECTED] Sat Oct 01 13:52:19 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ELoGA-0002lx-00; Sat, 01 Oct 2005 13:47:06 -0700
From: Debian PowerDNS Maintainers <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#304528: fixed in pdns 2.9.18-4
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 01 Oct 2005 13:47:06 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: pdns
Source-Version: 2.9.18-4

We believe that the bug you reported is fixed in the latest version of
pdns, which is due to be installed in the Debian FTP archive:

pdns-backend-geo_2.9.18-4_i386.deb
  to pool/main/p/pdns/pdns-backend-geo_2.9.18-4_i386.deb
pdns-backend-ldap_2.9.18-4_i386.deb
  to pool/main/p/pdns/pdns-backend-ldap_2.9.18-4_i386.deb
pdns-backend-mysql_2.9.18-4_i386.deb
  to pool/main/p/pdns/pdns-backend-mysql_2.9.18-4_i386.deb
pdns-backend-pgsql_2.9.18-4_i386.deb
  to pool/main/p/pdns/pdns-backend-pgsql_2.9.18-4_i386.deb
pdns-backend-pipe_2.9.18-4_i386.deb
  to pool/main/p/pdns/pdns-backend-pipe_2.9.18-4_i386.deb
pdns-backend-sqlite_2.9.18-4_i386.deb
  to pool/main/p/pdns/pdns-backend-sqlite_2.9.18-4_i386.deb
pdns-doc_2.9.18-4_all.deb
  to pool/main/p/pdns/pdns-doc_2.9.18-4_all.deb
pdns-recursor_2.9.18-4_i386.deb
  to pool/main/p/pdns/pdns-recursor_2.9.18-4_i386.deb
pdns-server_2.9.18-4_i386.deb
  to pool/main/p/pdns/pdns-server_2.9.18-4_i386.deb
pdns_2.9.18-4.diff.gz
  to pool/main/p/pdns/pdns_2.9.18-4.diff.gz
pdns_2.9.18-4.dsc
  to pool/main/p/pdns/pdns_2.9.18-4.dsc
pdns_2.9.18-4_all.deb
  to pool/main/p/pdns/pdns_2.9.18-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Debian PowerDNS Maintainers <[EMAIL PROTECTED]> (supplier of updated pdns 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat,  1 Oct 2005 15:11:33 +0200
Source: pdns
Binary: pdns-server pdns-backend-ldap pdns-backend-pipe pdns-backend-geo 
pdns-backend-mysql pdns-recursor pdns pdns-backend-pgsql pdns-backend-sqlite 
pdns-doc
Architecture: source i386 all
Version: 2.9.18-4
Distribution: unstable
Urgency: low
Maintainer: Debian PowerDNS Maintainers <[EMAIL PROTECTED]>
Changed-By: Debian PowerDNS Maintainers <[EMAIL PROTECTED]>
Description: 
 pdns       - meta package for the pdns nameserver
 pdns-backend-geo - geo backend for PowerDNS
 pdns-backend-ldap - LDAP backend for PowerDNS
 pdns-backend-mysql - generic mysql backend for PowerDNS
 pdns-backend-pgsql - generic PostgreSQL backend for PowerDNS
 pdns-backend-pipe - pipe/coprocess backend for PowerDNS
 pdns-backend-sqlite - sqlite backend for PowerDNS
 pdns-doc   - PowerDNS manual
 pdns-recursor - PowerDNS recursor
 pdns-server - extremely powerful and versatile nameserver
Closes: 304528 308677 328833 330184
Changes: 
 pdns (2.9.18-4) unstable; urgency=low
 .
   * Fix AXFR transfers from bind to pdns. (Closes: #330184)
   * Added resolvconf calls to pdns-recursor init script. (Closes: #308677)
   * Added pdns update script in order to automate the creation of the
     recursors list. (Closes: #304528)
   * Leave permissions on upgrades (Closes: #328833)
Files: 
 fca22bcce99261813cfc63c959d68f3c 1023 net extra pdns_2.9.18-4.dsc
 3e8286dea81bc29e811006ce7b09e9a0 40681 net extra pdns_2.9.18-4.diff.gz
 c747026fb7d89ca74ee2b40ba4176c71 622184 net extra pdns-server_2.9.18-4_i386.deb
 aaa6c5460666f6efcd0e06b71a47b50a 197250 net extra 
pdns-recursor_2.9.18-4_i386.deb
 344a88d06525fb3c39c7039b3d4ece38 69938 net extra 
pdns-backend-pipe_2.9.18-4_i386.deb
 cdebc8f5cd11697a5ec41bcbca63a546 209620 net extra 
pdns-backend-ldap_2.9.18-4_i386.deb
 1d2bb437d93e6c4cf4b5b1cec0b398d2 107206 net extra 
pdns-backend-geo_2.9.18-4_i386.deb
 c9dd53bf34937360da509a9cb38afc1d 98834 net extra 
pdns-backend-mysql_2.9.18-4_i386.deb
 f32c4a167fa94715ab157ba9c244a99b 70308 net extra 
pdns-backend-pgsql_2.9.18-4_i386.deb
 c2ec5ba8e41ca4350c04612e276797bd 67198 net extra 
pdns-backend-sqlite_2.9.18-4_i386.deb
 d6031941db3666d2cf365dc0fdb3d47f 17022 net extra pdns_2.9.18-4_all.deb
 4f93c686773165c724904add480c1e03 139836 doc extra pdns-doc_2.9.18-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDPtWECV53xXnMZYYRAsQyAJ9O+t7VgZ6lofMS9B1Va23jyARmlQCgqw4x
GpyLAaDbF21OupfIOulI9ak=
=1CAK
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to