Local DNS Server

Post Reply
DC1234
OpenVpn Newbie
Posts: 2
Joined: Wed Jun 17, 2020 8:26 pm

Local DNS Server

Post by DC1234 » Wed Jun 17, 2020 8:32 pm

Hello, I have installed an OPENVPN server on my Raspberry and so far it works! I cannot address my internal devices by DNS name, it only works by IP address. Does anyone have any idea what I have to do !? My client is an Android phone with the OpenVPN app.

My OpenVPNConf

Code: Select all

### Route Configurations Below
route 192.168.254.0 255.255.255.0

### Push Configurations Below
push block-outside-dns
push dhcp-option DNS 8.8.8.8
push dhcp-option DNS 8.8.4.4
A test to change the Push DHCP option to 192.168.x.x (my internal DNS) did not help!

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7584
Joined: Fri Jun 03, 2016 1:17 pm

Re: Local DNS Server

Post by TinCanTech » Wed Jun 17, 2020 8:53 pm

You need a DNS server.

info4tim
OpenVpn Newbie
Posts: 15
Joined: Mon Feb 26, 2018 1:07 pm

Re: Local DNS Server

Post by info4tim » Wed Jun 17, 2020 9:02 pm

TinCanTech wrote:You need a DNS server.
You must work for the govt

Sent from my SM-G973U using Tapatalk


User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7584
Joined: Fri Jun 03, 2016 1:17 pm

Re: Local DNS Server

Post by TinCanTech » Wed Jun 17, 2020 9:19 pm

info4tim wrote:
Wed Jun 17, 2020 9:02 pm
TinCanTech wrote:You need a DNS server.
You must work for the govt
Genius .. "The Government" .. because there is only one .. :roll:

DC1234
OpenVpn Newbie
Posts: 2
Joined: Wed Jun 17, 2020 8:26 pm

Re: Local DNS Server

Post by DC1234 » Thu Jun 18, 2020 4:56 am

TinCanTech wrote:
Wed Jun 17, 2020 8:53 pm
You need a DNS server.
I have an internal DNS server (Pihole) but the point is that after the VPN Connect this is not addressed. The Android phone always uses the public one and not my own!

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7584
Joined: Fri Jun 03, 2016 1:17 pm

Re: Local DNS Server

Post by TinCanTech » Thu Jun 18, 2020 12:57 pm

That is because you are pushing a public DNS.

Post Reply