-
-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set a proper default value for services.resolved.fallbackDns
#114114
Comments
I marked this as stale due to inactivity. → More info |
For me it's security issue, I don't want my server to contact public DNS without being explicitly allowed to do so. |
Relevant upstream issue: systemd/systemd#494. This value only seems to be used as a last resort when the |
Oh, he cares. Don't mistake Poetterings answer for not caring. He cares deeply. |
Note that overriding default values is indeed possible using a single This would be a breaking change for a select few I assume, but rewriting the type of As a stopgap measure you can use this in your config, but being able to use this without extraConfig would be nice considering there is an actual option for this kind of thing. services.resolved.extraConfig =
''
FallbackDNS=
''; Edit: gonna send a pull request |
Issue description
services.resolved.fallbackDns
is empty as a default value, and has the description of:The "compiled-in list" seems to be:
This means that if somebody wanted to intentionally set the list to an empty value, the person will need to try some workarounds.
Proposed solution
Just set the compiled value as the default value, and stop relying on the compiled-in list.
This affects
20.03
,20.09
, andunstable
versions of at least21.05pre271444.9816b99e71c
.The text was updated successfully, but these errors were encountered: