DNS resolution over OpenVPN

  • I have an OpenVPN connection to a remote site.
    From my main site I can ping all IPs at the remote site.
    At my main site I have added the remote DNS server IP to the list of DNS servers under "General Setup" however am unable to resolve any of the remote site names.

  • LAYER 8 Netgate

    Cannot resolve any of the names from where?

  • I cannot resolve name on the remote network from the main network.
    The local LAN is
    The remote LAN is

    user@domain:~$ ifconfig
    lo Link encap:Local Loopback
    inet addr: Mask:
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:7096 errors:0 dropped:0 overruns:0 frame:0
    TX packets:7096 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1
    RX bytes:943073 (943.0 KB) TX bytes:943073 (943.0 KB)

    wlp1s0 Link encap:Ethernet HWaddr e4:02:9b:ce:2a:f2
    inet addr: Bcast: Mask:
    inet6 addr: fe80::e602:9bff:fece:2af2/64 Scope:Link
    RX packets:72921 errors:0 dropped:0 overruns:0 frame:0
    TX packets:47350 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:37537403 (37.5 MB) TX bytes:8700199 (8.7 MB)

    user@domain:~$ ping -c4
    PING ( 56(84) bytes of data.
    64 bytes from icmp_seq=1 ttl=62 time=32.5 ms
    64 bytes from icmp_seq=2 ttl=62 time=33.2 ms
    64 bytes from icmp_seq=3 ttl=62 time=33.9 ms
    64 bytes from icmp_seq=4 ttl=62 time=31.5 ms

    --- ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3005ms
    rtt min/avg/max/mdev = 31.590/32.826/33.916/0.870 ms

    user@domain:~$ nslookup

    Non-authoritative answer:
    *** Can't find No answer

    Authoritative answers can be found from:

  • LAYER 8 Netgate

    Sorry. I wasn't clear enough. It doesn't really matter who can ping what from where in this case.

    Where are the workstations?

    What are the DNS servers those workstations are configured to use?

    Where are those name servers?

    How are those name servers configured?

    user@domain:~$ nslookup

    What is name server It obviously does not have access to information to answer that in-addr query.

  • The workstations are on a remote LAN ( on the other end of an OpenVPN link

    The remote LAN is a Windows AD network.
    DC, DHCP & DNS is

    These remote workstations are configured to use the DNS server above.

    The name server is the Windows SBS server on the remote LAN.

    On the remote LAN I can enter:

    Server: server.remotedomain.local

    Name: tc204.remotedomain.local

    I have no idea what is. On the main pfSense home page it shows the DNS servers as:

    DNS server(s)

    I hope this answers what you were after...

  • did you get this solved? im having a silimar issue

Log in to reply