Skip to content

Bug in initial configuration of AdGuard Home #8336

@itaberas

Description

@itaberas

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Other (please mention in the description)

Setup

On one machine

AdGuard Home version

v0.107.73

Action

I am setting up an AdGuard Home container in Podman, and I am having issues with the configuration of dns.bootstrap_dns. If in /opt/adguardhome/conf/AdGuardHome.yaml I set:

dns:
  bootstrap_dns:
    - 76.76.2.0
    - 76.76.10.0
    - 2606:1a40::
    - 2606:1a40:1::

The container returns the following errors:

[error] failed to parse configuration file err="yaml: unmarshal errors:\n  line 17: cannot unmarshal !!seq into string"
[error] Couldn't get logging settings from the configuration: yaml: unmarshal errors:
line 17: cannot unmarshal !!seq into string

Expected result

dns:
  bootstrap_dns:
    - 76.76.2.0
    - 76.76.10.0
    - 2606:1a40::
    - 2606:1a40:1::

Actual result

dns:
  bootstrap_dns:
    - - 76.76.2.0
      - 76.76.10.0
      - '2606:1a40:': null
      - '2606:1a40:1:': null

Additional information and/or screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions