Closed mclee closed 9 years ago
Use option -b to specify the binding address.
@Pentiumluyu You probably didn't get my point. Take dnsmasq for example. It already has options like -a or -z to specify the address / interface. But by providing an option --local-service, default installs can be rest assured without knowing specifically which addresses or interface the user will be using for local queries.
Of course it's only a suggestion, but I think it's something worth mentioning.
Currently we only offer packages for OpenWRT, which has a default reject rule on its wan interface.
If the router has a public accessible IP, then the ChinaDNS server will be open for probing. Will you consider implementing something like "--local-service" that dnsmasq does?
It seems like by enabling this dnsmasq will only answer DNS queries from hosts whose address is on a local subnet.