Skip to content
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

dnsmasq - use dhcp-hostdir #1801

Commits on Jun 19, 2024

  1. dnsmasq - use dhcp-hostdir

    The restart done by the handler happens only at the very
    end of the play. By using dhcp-hostsdir we get the benefit
    of dnsmasq reading any new or changed file in the hosts dir,
    automatically applying the new dhcp host config on the fly.
    
    Since adding a host is loaded on-the-fly - we don't need to
    notify the handler when adding hosts.
    
    Removing hosts however, reqires s SIGHUP - so for that case
    notify the handler.
    
    Also change the computation of _host_entry - it should include
    both ipv4 and ipv6 address if both are configured.
    hjensas committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    9a92a44 View commit details
    Browse the repository at this point in the history