Page 1 of 1

Local DNS Server

Posted: Wed Jun 17, 2020 8:32 pm
by DC1234
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!

Re: Local DNS Server

Posted: Wed Jun 17, 2020 8:53 pm
by TinCanTech
You need a DNS server.

Re: Local DNS Server

Posted: Wed Jun 17, 2020 9:02 pm
by info4tim
TinCanTech wrote:You need a DNS server.
You must work for the govt

Sent from my SM-G973U using Tapatalk


Re: Local DNS Server

Posted: Wed Jun 17, 2020 9:19 pm
by TinCanTech
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:

Re: Local DNS Server

Posted: Thu Jun 18, 2020 4:56 am
by DC1234
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!

Re: Local DNS Server

Posted: Thu Jun 18, 2020 12:57 pm
by TinCanTech
That is because you are pushing a public DNS.