From 8d308d3e9995bf58bf7132007fab6f55fe6ff3f9 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Wed, 22 Apr 2009 14:17:24 +0200 Subject: [PATCH 1/1] Handle named.conf.options upgrade. --- files/etc/bind/named.conf.options.expect | 28 ++++++++++++++++++++ ...med.conf.options => named.conf.options.restore} | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 files/etc/bind/named.conf.options.expect rename files/etc/bind/{named.conf.options => named.conf.options.restore} (96%) diff --git a/files/etc/bind/named.conf.options.expect b/files/etc/bind/named.conf.options.expect new file mode 100644 index 0000000..3504a67 --- /dev/null +++ b/files/etc/bind/named.conf.options.expect @@ -0,0 +1,28 @@ +options { + directory "/var/cache/bind"; + + // If there is a firewall between you and nameservers you want + // to talk to, you might need to uncomment the query-source + // directive below. Previous versions of BIND always asked + // questions using port 53, but BIND 8.1 and later use an unprivileged + // port by default. + + + // 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 { + // 0.0.0.0; + // }; + + auth-nxdomain no; # conform to RFC1035 + listen-on-v6 { any; }; +}; + +# Begin update by CARNet package bind9-cn -- DO NOT DELETE THIS LINE! +logging { + category lame-servers { null; }; +}; +# End update by CARNet package bind9-cn -- DO NOT DELETE THIS LINE! diff --git a/files/etc/bind/named.conf.options b/files/etc/bind/named.conf.options.restore similarity index 96% rename from files/etc/bind/named.conf.options rename to files/etc/bind/named.conf.options.restore index 813193d..74325eb 100644 --- a/files/etc/bind/named.conf.options +++ b/files/etc/bind/named.conf.options.restore @@ -19,6 +19,6 @@ options { // }; auth-nxdomain no; # conform to RFC1035 - + listen-on-v6 { any; }; }; -- 1.7.10.4