I am running dnsmasq on my computer. I connect to work over a VPN. I have dnsmasq set up to route work things to the work dns servers and everything else to my ISP vpn. Everything works fine until I try to use IBM cloudant on bluemix. I have an address like xxxx- xxxx.bluemix.cloudant.com. If bluemix doesn't see the request coming from a VPN address(9.xxx) it will reject it. I am trying to use dnsmasq to handle this properly. There is a proxy 184.108.40.206 that handles this. If I put the following in /etc/hosts it will work: 220.127.116.11 xxxx-xxxx.bluemix.cloudant.com. I am trying to use the options no-hosts and addn-hosts in dnsmasq.conf to handle it. I can get it to work if I put the line in /etc/dnsmasq.hosts and set addn-hosts=/etc/dnsmasq.hosts. The problem is that I can't find a way to wildcard it. I have to put every different xxxx-xxxx.bluemix- cloudant.com into /etc/dnsmasq.host for it to work. Is there a way I can have *bluemix.cloudant.com go to 18.104.22.168? I tried address=/bluemix.cloudant.com/22.214.171.124 but that did not work.
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasqemail@example.com http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss