-
Notifications
You must be signed in to change notification settings - Fork 813
dnsmasq: Fix wildcard host handling #8734
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
Conversation
Still have to check one more thing so draft until later. |
…with no domain specified.
Okay done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Monviech some remarks, but in general I have no objections (we just need to add HostWildcardAllowed
to the hostname field)
@@ -54,6 +58,26 @@ domain={{dnsmasq.dhcp.domain|default(system.domain)}} | |||
local=/{{ domain }}/ | |||
{% endfor %} | |||
{% endif %} | |||
{% if all_wildcard_hosts %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can probably ditch the if
here as an empty list won't yield output anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to show the comment block conditionally in the rendered config.
Co-authored-by: Ad Schellevis <AdSchellevis@users.noreply.github.com>
Fixes: #8731