No, that's a different problem. your target name "vpnin.swtk.info" is
called "vpnin" and have set the domain to swtk.info.
not the same that the OPs problem with CNAMES.
by the ipset system? Genuine question. I'm unsure what people are using
the ipsets facility for, so I don't know the answer.
Simon.
Post by Wojtek SwiatekI incidentally have the same problem (I started to tackle ipset today).
<http://vpnin.swtk.info/vpnin>
dnsmasq: started, version 2.79 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6
no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
dnsmasq-dhcp: DHCP, IP range 10.200.0.1 -- 10.200.0.230, lease time 10d
dnsmasq-dhcp: DHCP, IP range 10.10.10.1 -- 10.10.10.200, lease time 10d
dnsmasq-dhcp: DHCP, IP range 10.1.1.1 -- 10.1.1.100, lease time 10d
dnsmasq-dhcp: DHCP, IP range 10.100.20.1 -- 10.100.20.230, lease time 10d
dnsmasq-dhcp: DHCP, IP range 10.100.10.1 -- 10.100.10.230, lease time 10d
dnsmasq: using nameserver 8.8.4.4#53
dnsmasq: using nameserver 1.1.1.1#53
dnsmasq: read /etc/hosts - 8 addresses
dnsmasq: query[A] vpnin.swtk.info <http://vpnin.swtk.info> from 127.0.0.1
dnsmasq: DHCP vpnin.swtk.info <http://vpnin.swtk.info> is 10.200.0.2
ipset v6.34: No command specified: unknown argument vpnin
Try `ipset help' for more information.
Name: vpnin
Type: hash:ip
Revision: 4
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 88
References: 0
Number of entries: 0
Cheers,
Wojtek
Are you sure? It seems to work for me.
--ipset=/www.comcast.com/test
dnsmasq: started, version 2.80test4 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN
DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect
inotify dumpfile
dnsmasq: reading /etc/resolv.conf
dnsmasq: using nameserver 127.0.1.1#53
dnsmasq: read /etc/hosts - 8 addresses
dnsmasq: query[A] www.comcast.com from 127.0.0.1
dnsmasq: forwarded www.comcast.com to 127.0.1.1
dnsmasq: reply www.comcast.com is <CNAME>
dnsmasq: reply www.comcast.com.edgekey.net is <CNAME>
dnsmasq: ipset add test 2.22.99.93 e523.dscb.akamaiedge.net
dnsmasq: reply e523.dscb.akamaiedge.net is 2.22.99.93
Cheers,
Simon.
Post by e***@yahoo.com.hkHi,
When running with the ipset configuration, e.g.
ipset=/example.com/whitelist
If the query result is a CNAME of differnet domain e.g.
example.com.
300 IN CNAME d123456789abcdefg.cloudfront.net.
d123456789abcdefg.cloudfront.net. 60
IN A 123.123.123.123
The IP address 123.123.123.123 would not be added to the IPSET. May I
ask if it is possible to have dnsmasq to add the final reolved ip into
the ipset?
Thank you!
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss