DigitaleGesellschaft / DNS-Resolver

Configuration files of our DoT and DoH servers
129 stars 20 forks source link

Support Stubby 0.2.5 #9

Closed coffeemakr closed 4 years ago

coffeemakr commented 4 years ago

Stubby 0.2.5 requires the definition of the listen_addresses. If I run the provided sample configuration on debian 10, stubby fails with the following error:

Could not parse config file "/etc/stubby/stubby.yml": A helper function for dicts had a name argument that for a name that is not in the dict.

With the listen_addresses set to the loopback addresses, it works as expected. I would suggest to add the entry just in case someone tries to use an older version of stubby.

ryru commented 4 years ago

I am not currently able to reproduce this new configuration but to me it makes sense. This configuration is also in official examples and Arch also mentions it. I will merge this change.

ryru commented 4 years ago

Thank you!