Project

General

Profile

Actions

Bug #11263

closed

Unbound fails to parse config if DNS Query Forwarding and custom options are enabled

Added by Konstantin Svist almost 4 years ago. Updated almost 4 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
DNS Resolver
Target version:
-
Start date:
01/18/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:

Description

I tried to enable DNS Query Forwarding and I have a custom option.
unbound-checkconf fails pointing to the custom option

config segment:

# Forwarding
forward-zone:
        name: "." 
        forward-tls-upstream: yes
        forward-addr: 8.8.8.8@853
        forward-addr: 8.8.4.4@853

# Unbound custom options
log-servfail: yes

If I manually edit the file to move custom option before "forward-zone" section, file is validated as expected.
If I comment out custom option, everything is fine too.

Actions

Also available in: Atom PDF