dslreports logo
    All Forums Hot Topics Gallery


how-to block ads

Search Topic:
share rss forum feed



which DNS to use in server.ovpn when running dd-wrt?

Hi there,

I am trying to setup OpenVPN server on a PC connected to a DD-WRT router:
OS: Windows Seven Ultimate
DD-wrt: v24-sp2
router: Asus RT-N16

Editing the Server.ovpn config file:
"push "dhcp-option DNS X.X.X.X" #### CHANGE. Replace the Xs with the IP address of the DNS for your home network (usually your ISP's DNS)."

I noticed that I have a local DNS address rather than my ISP's (Rogers) DNS. When I run "ipconfig /all", I get:

Ethernet adapter Local Area Connection:
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-C2-0B-CC-00-22-15-86-08-1A
DNS Servers . . . . . . . . . . . :
Ethernet adapter Hamachi:
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-C2-0B-CC-00-22-15-86-08-1A
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1

I've done quite a bit of research on the net, but haven't found much.
Should I use the local address I got from ipconfig ( as the DNS in the server config file?

Please help!

Thanks a lot for your time!!



1 edit

1 recommendation

Depends on your intentions. If clients are only expected to use the openvpn server as their internet gateway, then a local DNS doesn't serve much purpose, and in fact, you may not want remote users to know/access local resources (other than the gateway). So use a public DNS in that case (e.g., Google's OTOH, if you expect those remote users to roam your local network and easily access resources by name (web server, ftp server, nas, etc.), then obviously a local DNS server is useful. And like most local DNS servers, it should forward any requests it can't handle to the local ISP's DNS servers.


gotcha! thank you!!