summaryrefslogtreecommitdiffstats
path: root/usr.sbin/unbound/local-setup
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-09-23 17:35:23 +0000
committerdes <des@FreeBSD.org>2013-09-23 17:35:23 +0000
commit56573b50a653966ac9e8142886a52014c68654fa (patch)
tree5859c3a5f856383c5801bda206709a84a141791d /usr.sbin/unbound/local-setup
parent64fbf758553e27367ea243f3b71bd0a09fc59001 (diff)
downloadFreeBSD-src-56573b50a653966ac9e8142886a52014c68654fa.zip
FreeBSD-src-56573b50a653966ac9e8142886a52014c68654fa.tar.gz
Ensure that resolvconf(8) preserves the edns0 setting.
Approved by: re (blanket)
Diffstat (limited to 'usr.sbin/unbound/local-setup')
-rwxr-xr-xusr.sbin/unbound/local-setup/local-unbound-setup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/unbound/local-setup/local-unbound-setup.sh b/usr.sbin/unbound/local-setup/local-unbound-setup.sh
index 11561ac..9996df5 100755
--- a/usr.sbin/unbound/local-setup/local-unbound-setup.sh
+++ b/usr.sbin/unbound/local-setup/local-unbound-setup.sh
@@ -157,6 +157,7 @@ gen_resolv_conf() {
gen_resolvconf_conf() {
echo "# Generated by $self"
echo "name_servers=\"127.0.0.1\""
+ echo "resolv_conf_options=\"edns0\""
echo "unbound_conf=\"${forward_conf}\""
echo "unbound_pid=\"${pidfile}\""
echo "unbound_service=\"${service}\""
OpenPOWER on IntegriCloud