Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bind/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.27.3-alpine3.24 AS builder
FROM golang:1.27.4-alpine3.24 AS builder

ARG UPSTREAM_VERSION

Expand Down
10 changes: 5 additions & 5 deletions bind/custom/patches/dappnode-forwarding.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/dnscrypt-proxy/config.go b/dnscrypt-proxy/config.go
index 6e6e81c..0631671 100644
index 8a93530..6b25171 100644
--- a/dnscrypt-proxy/config.go
+++ b/dnscrypt-proxy/config.go
@@ -59,6 +59,7 @@ type Config struct {
Expand Down Expand Up @@ -31,7 +31,7 @@ index 9e609a6..ed8e6b1 100644

// Configure query meta
diff --git a/dnscrypt-proxy/plugin_forward.go b/dnscrypt-proxy/plugin_forward.go
index 8f3bed9..679831f 100644
index 842cb3e..90f303e 100644
--- a/dnscrypt-proxy/plugin_forward.go
+++ b/dnscrypt-proxy/plugin_forward.go
@@ -6,14 +6,17 @@
Expand Down Expand Up @@ -114,7 +114,7 @@ index 8f3bed9..679831f 100644
break
}
@@ -435,6 +453,9 @@ func (plugin *PluginForward) Eval(pluginsState *PluginsState, msg *dns.Msg) erro
if err := validateResponseQuestion(forwardMsg, respMsg); err != nil {
if err = validateResponseQuestion(forwardMsg, respMsg); err != nil {
continue
}
+ if fallback != "" && respMsg.Rcode != dns.RcodeSuccess {
Expand Down Expand Up @@ -165,10 +165,10 @@ index 8f3bed9..679831f 100644
// the given protocol and retrying a truncated UDP response over TCP.
func (plugin *PluginForward) exchangeDirect(
diff --git a/dnscrypt-proxy/proxy.go b/dnscrypt-proxy/proxy.go
index 726886d..b74789e 100644
index e84d451..433c827 100644
--- a/dnscrypt-proxy/proxy.go
+++ b/dnscrypt-proxy/proxy.go
@@ -91,6 +91,7 @@ type Proxy struct {
@@ -94,6 +94,7 @@ type Proxy struct {
cacheMinTTL uint32
cacheNegMaxTTL uint32
cloakTTL uint32
Expand Down
50 changes: 30 additions & 20 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,44 @@
{
"name": "bind.dnp.dappnode.eth",
"version": "0.2.11",
"upstream": [
"architectures": [
"linux/amd64",
"linux/arm64"
],
"author": "DAppNode Association <admin@dappnode.io> (https://github.com/dappnode)",
"bugs": {
"url": "https://github.com/dappnode/DNP_BIND/issues"
},
"categories": [
"Developer tools"
],
"description": "Dappnode Core Package responsible for forwarding the DNS and ENS requests to the proper resolver",
"globalEnvs": [
{
"repo": "DNSCrypt/dnscrypt-proxy",
"version": "2.1.20",
"arg": "UPSTREAM_VERSION"
"envs": [
"DOMAIN",
"INTERNAL_IP"
],
"services": [
"bind.dnp.dappnode.eth"
]
}
],
"shortDescription": "DNS/ENS forwarder for Dappnode",
"description": "Dappnode Core Package responsible for forwarding the DNS and ENS requests to the proper resolver",
"architectures": ["linux/amd64", "linux/arm64"],
"type": "dncore",
"author": "DAppNode Association <admin@dappnode.io> (https://github.com/dappnode)",
"categories": ["Developer tools"],
"license": "GPL-3.0",
"links": {
"homepage": "https://dappnode.com"
},
"name": "bind.dnp.dappnode.eth",
"repository": {
"type": "git",
"url": "git+https://github.com/dappnode/DNP_BIND"
},
"bugs": {
"url": "https://github.com/dappnode/DNP_BIND/issues"
},
"license": "GPL-3.0",
"globalEnvs": [
"shortDescription": "DNS/ENS forwarder for Dappnode",
"type": "dncore",
"upstream": [
{
"envs": ["DOMAIN", "INTERNAL_IP"],
"services": ["bind.dnp.dappnode.eth"]
"arg": "UPSTREAM_VERSION",
"repo": "DNSCrypt/dnscrypt-proxy",
"version": "2.1.21"
}
]
],
"version": "0.2.16"
}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build:
context: bind
args:
UPSTREAM_VERSION: 2.1.20
UPSTREAM_VERSION: 2.1.21
restart: always
networks:
dncore_network:
Expand Down