[Dnsmasq-discuss] ipset add ipv6 address to ipv4 sets.
Justin
cattyhouse at gmail.com
Sun Jan 9 06:37:30 UTC 2022
So. i have
local=/google.com/8.8.8.8
ipset=/google.com/proxy
when "curl google.com"
dnsmasq log shows:
ipset add proxy 142.250.217.142 google.com
ipset add proxy 2607:f8b0:4007:818::200e google.com
looks like dnsmasq does not check the SETNAME "proxy" is ipv4 or ipv6.
so "ipset add proxy 2607:f8b0:4007:818::200e google.com" is not going to work.
while on ipset command:
"ipset create testname hash:net" by default creates an ipv4 family.
there seems to be no way to create a SETNAME that contains both ipv4
and ipv6 family.
finally, my suggestion: can dnsmasq check and SETNAME family and don't
try to add ipv4 or ipv6 ip to wrong family?
thanks
More information about the Dnsmasq-discuss
mailing list