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 18.104.22.168 that handles this. If I put the following in /etc/hosts it will work: 22.214.171.124 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 126.96.36.199? I tried address=/bluemix.cloudant.com/188.8.131.52 but that did not work.
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasqfirstname.lastname@example.org http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss