Skip to content
Snippets Groups Projects
  • Hans Dedecker's avatar
    32f47775
    dnsmasq: Add match section support · 32f47775
    Hans Dedecker authored
    
    Match sections allow to set a tag specified by the option networkid if the client
    sends an option and optionally the option value specified by the match option.
    The force option will convert the dhcp-option to force-dhcp-option if set to 1 in
    the dnsmasq config if options are specified in the dhcp_option option.
    
    config match
        option networkid tag
        option match 12,myhost
        option force 1
        list dhcp_option '3,192.168.1.1'
    
    Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
    32f47775
    History
    dnsmasq: Add match section support
    Hans Dedecker authored
    
    Match sections allow to set a tag specified by the option networkid if the client
    sends an option and optionally the option value specified by the match option.
    The force option will convert the dhcp-option to force-dhcp-option if set to 1 in
    the dnsmasq config if options are specified in the dhcp_option option.
    
    config match
        option networkid tag
        option match 12,myhost
        option force 1
        list dhcp_option '3,192.168.1.1'
    
    Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
dnsmasq.init 18.34 KiB