Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. VPN
  3. Built-in DNS Server - Not resolving connected clients

Built-in DNS Server - Not resolving connected clients

Scheduled Pinned Locked Moved Solved VPN
2 Posts 1 Posters 425 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      G Offline
      garza
      wrote on last edited by
      #1

      Hello, I have installed and connected my devices to OpenVPN, but the DNS server doesn't seem to work.
      I'm able to ping each device with their VPN IP but not able to do it with the devicename.username format as it doesn't get resolved.
      The DNS server has the default value: 10.8.0.1.

      How can this issue get resolved?
      I already followed the documentation and read this forum, but didn't find a solution.
      Thank you in advance.

      1 Reply Last reply
      1
      • G Offline
        G Offline
        garza
        wrote on last edited by
        #2

        I continued debugging the issue and fortunately, I finally found the root cause and solution. Turns out the Ubuntu client wasn't updating the DHCP settings automatically, so I added the following lines to the ovpn file:

        up /etc/openvpn/update-systemd-resolved
        down /etc/openvpn/update-systemd-resolved
        

        And also installed the following dependencies:

        sudo apt install resolvconf openvpn-systemd-resolved
        

        With that, I was able to solve the issue and now all the clients are resolving automatically.

        1 Reply Last reply
        1
        • girishG girish marked this topic as a question on
        • girishG girish has marked this topic as solved on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search