This needs to work for proper VPN on Demand operation, but from what I've seen, the iPhone continues using the 3G/Wifi supplied DNS.push "dhcp-option DNS x.x.x.x"
Thanks.
This needs to work for proper VPN on Demand operation, but from what I've seen, the iPhone continues using the 3G/Wifi supplied DNS.push "dhcp-option DNS x.x.x.x"
Code: Select all
push "dhcp-option DOMAIN foo.tld"
push "dhcp-option DOMAIN bar.tld"
Code: Select all
...
push "dhcp-option DNS 10.8.0.1"
push "redirect-gateway def1 bypass-dhcp"
...
Code: Select all
07:47:12.949387 IP 10.8.0.6.56521 > google-public-dns-a.google.com.domain: 4249+ A? www.amazon.com. (32)
...
DNS response with IP
Code: Select all
07:44:50.310893 IP 10.8.0.6.64316 > 10.8.0.1.domain: 23194+ A? www.google.com. (32)