+bind9-cn (2:9.2.4-3) stable; urgency=low
+
+ * maknut query-source kao direktiva viska
+
+ -- Dinko Korunic <kreator@carnet.hr> Sun, 1 Mar 2009 22:51:26 +0100
+
bind9-cn (2:9.2.4-2) stable; urgency=low
* korekcija postinst, pretrazi lame-servers logging i u named.conf i u
options {
directory "/etc/bind";
- query-source address * port 53;
auth-nxdomain no;
allow-transfer { xfer; };
allow-recursion { trusted; };
rndc reload || echo "CN: Reload didn't work, please check manually"
fi
+if [ -e /etc/bind/named.conf.options ] && \
+ fgrep -q 'query-source address * port 53' \
+ /etc/bind/named.conf.options; then
+ fgrep -v 'query-source address * port 53' \
+ /etc/bind/named.conf.options > /etc/bind/named.conf.options.$$
+ cp_mv /etc/bind/named.conf.options.$$ /etc/bind/named.conf.options
+ echo "CN: Removing obsolete query-source directive"
+ rndc reload || echo "CN: Reload didn't work, please check manually"
+fi
+
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.