Use OpenVPN server as a DNS server?

Do I use OpenVPN server as a DNS server? Hi,

I have a corporate network of 192.168.0.0 / 22. There is a DC, there is also DNS and DCHP serever, 192.168.1.200.

Pfsense gateway 192.168.1.95, it is running OpenVPN Server network 192.168.84.0

The situation is as follows clients connect to OpenVPN get ip network 192.168.84.0, DNS 192.168.1.200 and as if "happiness" they are in the corporate network all services are accessed. BUT if the client has a home network 192.168.1.0 / 24 DNS requests do not go through VPN, routing is there, they see the services by IP.

I tried to configure DNS Forwarder on pfsense so that DNS server clients have OpenVPN Server 192.168.84.1 and it is like forwarder on 192.168.1.200.

Somehow it didn't work,....

HERE are the DNS Forwarder settings:

Enable = Галочка Enable DNS forwarder

DNS Query Forwarding

Query DNS servers sequentially = Галочка

Do not forward private reverse lookups = Галочка

Listen Port = 53

Interfaces = All

Strict binding = Галочка

Custom options = rebind-domain-ok=/test.com/test.loc/test.org/

In Domain Overrides

Domain = test.com

IP = 192.168.1.200

Source IP = пусто `

How to make a client with a home network of 192.168.1.0/24 corporate DNS queries go VPN, and the Internet through his network??? You can of course let all the traffic through the VPN, but this is not necessary. It is also not an option for customers to change their home network.

What should I do? What are the solutions? Can I DNS Forwarder not correctly insist? Or do you have to do something different? overlapping ?

Thank you in advance!

Author: Aba, 2020-04-01