Hostname Routing
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Jun 13, 2019 6:03 pm
Hostname Routing
Hi all, I've been searching around but haven't seen this exact issue addressed yet. Does the Android OpenVPN app (official) not support hostname routing? As in, client config: route something.myserver.com 255.255.255.255. I get an error in the log stating that something.myserver.com is not a valid IP address. This client config does work in the Windows OpenVPN app as expected. The route does work in Android if I reconfigure it with the real IP and not the hostname. I'd much rather use hostnames for some routes that don't have static public IPs. Any thoughts?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Hostname Routing
Like this ?
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Jun 13, 2019 6:03 pm
Re: Hostname Routing
I'll have to check to see what that option does, thanks for the lead.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Jun 13, 2019 6:03 pm
Re: Hostname Routing
That option looks like it would help, but it didn't change the behavior in the app. In fact, I can see the option in the log under 'Unused Options' so I'm assuming it's not supported.