# Remotely push DNS server to client via OpenVPN

dnsnetworkingopenvpntcp

When I try to push a DNS server via the OpenVPN server-config I don't get that server to be the first DNS server on the connected client system. It ends up being specified as an alternative DNS server.

push "dhcp-option DNS 89.238.75.146" # DNS-Server 1 (local djbdns)


To overcome certain network restrictions, if they're at place, I use 443 TCP. – That means that my DNS queries are sent via TCP (if I manually reconfigure the DNS server), which doesn't scale very well from a performance perspective.

Are there any kewl solutions for that?

Marius