From: Giovanni Aneloni <giovanni.aneloni@live.com>
To: development@lists.ipfire.org
Subject: [PATCH] unbound: make local zone transparent
Date: Tue, 28 Apr 2020 00:23:57 +0200 [thread overview]
Message-ID: <AM0PR03MB605172FBC34473CAF58BECD5FCAF0@AM0PR03MB6051.eurprd03.prod.outlook.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 803 bytes --]
Fixes: https://bugzilla.ipfire.org/show_bug.cgi?id=12391
Change local zone to "trasnparent" instead of "typetrasnparent" to avoid
NXDOMAIN when querying local hosts
Signed-off-by: Giovanni Aneloni <giovanni.aneloni(a)live.com>
---
diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound
index acbf6f5b5..825ac74ec 100644
--- a/src/initscripts/system/unbound
+++ b/src/initscripts/system/unbound
@@ -81,7 +81,7 @@ write_hosts_conf() {
# Skip empty domainnames
[ "${domainname}" = "" ] && continue
- echo "local-zone: ${domainname} typetransparent"
+ echo "local-zone: ${domainname} transparent"
done < /var/ipfire/main/hosts | sort -u
# Add all hosts
next reply other threads:[~2020-04-27 22:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-27 22:23 Giovanni Aneloni [this message]
2020-04-28 4:55 Peter Müller
2020-04-28 6:13 Tapani Tarvainen
2020-04-28 10:03 R: " Tapani Tarvainen
2020-04-28 10:31 ` Michael Tremer
2020-04-28 10:35 ` Tapani Tarvainen
2020-04-28 10:37 ` Michael Tremer
2020-05-07 21:18 Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM0PR03MB605172FBC34473CAF58BECD5FCAF0@AM0PR03MB6051.eurprd03.prod.outlook.com \
--to=giovanni.aneloni@live.com \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox