Please update dnsmasq to 2.87

dnsmasq ver.2.87 x86 64 for OpenWrt 22.03.2

Please give it a try,
But in my case ,nftset is not working properly

I tried to build my domain list config in forms of

nftset=/www.example.com/4#inet#vpn_table#set_vpn_ipv4,6#inet#vpn_table#set_vpn_ipv6

or

nftset=/www.example.com/4#inet#vpn_table#set_vpn_ipv4
nftset=/www.example.com/6#inet#vpn_table#set_vpn_ipv6

and my nft table was like

table inet vpn_table {
        set set_vpn_v4 {
                type ipv4_addr
                flags interval
                elements {
                }
        }
        set set_vpn_v6 {
                type ipv6_addr
                flags interval
                elements {
                }
        }
        ruchains {xxxxxxxxx
        }
}

the ipv4 addresses were added to the nft set correctly, some how it seem like dnsmasq didn't deal with the ipv6 addddress
maybe there are something wrong with my configuarations

----mistry solved------------
Turns out it was my fault,
No need to specify the address family for each sets.
DNSMASQ will put the right in the sets according to set types.
Seems like once DNSMASQ receive a given address family, it will discard all the records that don't fit, then,there won't be any records for the following sets with different address family specified

3 Likes