mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 04:09:28 -05:00
- Add resolver.arpa and service.arpa to the default locally served
zones.
This commit is contained in:
parent
c3b5bff311
commit
f52b2a6ea2
4 changed files with 35 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
|||
14 January 2025: Yorgos
|
||||
- Add resolver.arpa and service.arpa to the default locally served
|
||||
zones.
|
||||
|
||||
13 January 2025: Yorgos
|
||||
- Fix #1213: Misleading error message on default access control causing
|
||||
refuse.
|
||||
|
|
|
|||
|
|
@ -811,6 +811,8 @@ server:
|
|||
# local-zone: "127.in-addr.arpa." nodefault
|
||||
# local-zone: "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa." nodefault
|
||||
# local-zone: "home.arpa." nodefault
|
||||
# local-zone: "resolver.arpa." nodefault
|
||||
# local-zone: "service.arpa." nodefault
|
||||
# local-zone: "onion." nodefault
|
||||
# local-zone: "test." nodefault
|
||||
# local-zone: "invalid." nodefault
|
||||
|
|
|
|||
|
|
@ -1638,6 +1638,7 @@ given zone. Use \fInodefault\fR if you use exactly that zone, if you want to
|
|||
use a subzone, use \fItransparent\fR.
|
||||
.P
|
||||
The default zones are localhost, reverse 127.0.0.1 and ::1, the home.arpa,
|
||||
the resolver.arpa, the service.arpa,
|
||||
the onion, test, invalid and the AS112 zones. The AS112 zones are reverse
|
||||
DNS zones for private use and reserved IP addresses for which the servers
|
||||
on the internet cannot provide correct answers. They are configured by
|
||||
|
|
@ -1693,6 +1694,24 @@ local\-data: "home.arpa. 10800 IN
|
|||
SOA localhost. nobody.invalid. 1 3600 1200 604800 10800"
|
||||
.fi
|
||||
.TP 10
|
||||
\h'5'\fIresolver.arpa (RFC 8375)\fR
|
||||
Default content:
|
||||
.nf
|
||||
local\-zone: "resolver.arpa." static
|
||||
local\-data: "resolver.arpa. 10800 IN NS localhost."
|
||||
local\-data: "resolver.arpa. 10800 IN
|
||||
SOA localhost. nobody.invalid. 1 3600 1200 604800 10800"
|
||||
.fi
|
||||
.TP 10
|
||||
\h'5'\fIservice.arpa (draft-ietf-dnssd-srp-25)\fR
|
||||
Default content:
|
||||
.nf
|
||||
local\-zone: "service.arpa." static
|
||||
local\-data: "service.arpa. 10800 IN NS localhost."
|
||||
local\-data: "service.arpa. 10800 IN
|
||||
SOA localhost. nobody.invalid. 1 3600 1200 604800 10800"
|
||||
.fi
|
||||
.TP 10
|
||||
\h'5'\fIonion (RFC 7686)\fR
|
||||
Default content:
|
||||
.nf
|
||||
|
|
|
|||
|
|
@ -943,6 +943,16 @@ int local_zone_enter_defaults(struct local_zones* zones, struct config_file* cfg
|
|||
log_err("out of memory adding default zone");
|
||||
return 0;
|
||||
}
|
||||
/* resolver.arpa. zone (RFC 9462) */
|
||||
if(!add_empty_default(zones, cfg, "resolver.arpa.")) {
|
||||
log_err("out of memory adding default zone");
|
||||
return 0;
|
||||
}
|
||||
/* service.arpa. zone (draft-ietf-dnssd-srp-25) */
|
||||
if(!add_empty_default(zones, cfg, "service.arpa.")) {
|
||||
log_err("out of memory adding default zone");
|
||||
return 0;
|
||||
}
|
||||
/* onion. zone (RFC 7686) */
|
||||
if(!add_empty_default(zones, cfg, "onion.")) {
|
||||
log_err("out of memory adding default zone");
|
||||
|
|
|
|||
Loading…
Reference in a new issue