DNS problem when connected to vpn server
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Apr 22, 2011 2:28 am
DNS problem when connected to vpn server
I have been using VPN to bypass my office internet restriction but since yesterday my server admin blocks DNS traffic where in when i'm connected to VPN my internet fails to resolve DNS. Is there a way to bypass this with VPN config? I'm running my own openVPN server.
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: DNS problem when connected to vpn server
when you're running your own vpn server you can also run your own DNS server on the same box; push out this DNS server to the client and (depending on the client OS) all DNS queries will also go via the VPN.
If you're using Windows it is helpful to use
Code: Select all
push "dhcp-option DNS <IP>"
Code: Select all
register-dns