fovecifer
New Around Here
First, thank you merlin!
I need the ipset function in dnsmasq to put some IPs to a ipset which I named "vpn".
And the dnsmasq do not support ipset in default, so I change the compile options from "NO_IPSET" to "HAVA_IPSET" in the Makefile.
And I add the ipset configurations in dnsmasq.conf which looks like this:
server=/facebook.com/8.8.8.8
ipset=/facebook.com/vpn
server=/youtube.com/8.8.8.8
ipset=/youtube.com/vpn
server=/twitter.com/8.8.8.8
ipset=/twitter.com/vpn
As I know, when I
nslookup facebook.com 127.0.0.1
in the rt-ac68u, the IP of facebook should added into ipset vpn.
but
admin@RT-AC68U-4EE0:/jffs/configs# ipset --list vpn
Name: vpn
Type: iphash
References: 1
Header: hashsize: 1024 probes: 8 resize: 50
Members:
there is no IPs in this ipset.
Anyone could tell me what's the problems?
I need the ipset function in dnsmasq to put some IPs to a ipset which I named "vpn".
And the dnsmasq do not support ipset in default, so I change the compile options from "NO_IPSET" to "HAVA_IPSET" in the Makefile.
And I add the ipset configurations in dnsmasq.conf which looks like this:
server=/facebook.com/8.8.8.8
ipset=/facebook.com/vpn
server=/youtube.com/8.8.8.8
ipset=/youtube.com/vpn
server=/twitter.com/8.8.8.8
ipset=/twitter.com/vpn
As I know, when I
nslookup facebook.com 127.0.0.1
in the rt-ac68u, the IP of facebook should added into ipset vpn.
but
admin@RT-AC68U-4EE0:/jffs/configs# ipset --list vpn
Name: vpn
Type: iphash
References: 1
Header: hashsize: 1024 probes: 8 resize: 50
Members:
there is no IPs in this ipset.
Anyone could tell me what's the problems?