xulian
Regular Contributor
Hello,
I have been reading a lot but I'm unable to set this working due to some kind of problem when trying to populate the ipset with the corresponding addresses. These are the commands I have run:
1) added the entry ipset=/plex.tv/my.plexapp.com/myipset to /jffs/configs/dnsmasq.conf.add
2) restarted dnsmasq service with service service restart_dnsmasq and verified the line is added to the main dnsmasq.conf file
3) create the ipset with the command ipset create wan0 iphash
4) fill the ipset with ipset add wan0 myipset
and get the error:
ipset v6.29: Syntax error: cannot parse myipset: resolving to IPv4 address failed
If I try to add the url directly without the dnsmasq record with ipset add wan0 plex.tv then I get
Warning: plex.tv resolves to multiple addresses: using only the first one returned by the resolver.
So looks like the dnsmasq info is not being resolved? Any idea please? My intention is to route any packet to those addresses adding some fwmark in there.
thanks very much in advance
I have been reading a lot but I'm unable to set this working due to some kind of problem when trying to populate the ipset with the corresponding addresses. These are the commands I have run:
1) added the entry ipset=/plex.tv/my.plexapp.com/myipset to /jffs/configs/dnsmasq.conf.add
2) restarted dnsmasq service with service service restart_dnsmasq and verified the line is added to the main dnsmasq.conf file
3) create the ipset with the command ipset create wan0 iphash
4) fill the ipset with ipset add wan0 myipset
and get the error:
ipset v6.29: Syntax error: cannot parse myipset: resolving to IPv4 address failed
If I try to add the url directly without the dnsmasq record with ipset add wan0 plex.tv then I get
Warning: plex.tv resolves to multiple addresses: using only the first one returned by the resolver.
So looks like the dnsmasq info is not being resolved? Any idea please? My intention is to route any packet to those addresses adding some fwmark in there.
thanks very much in advance