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. Feature Requests
  3. Add DNS DAV registring

Add DNS DAV registring

Scheduled Pinned Locked Moved Feature Requests
webdavdns
7 Posts 4 Posters 22.0k Views 4 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.
  • S Offline
    S Offline
    saglagla
    wrote on last edited by girish
    #1

    Regarding https://tools.ietf.org/html/rfc6764 and this tutorial https://www.mailenable.com/kb/content/article.asp?ID=ME020559 : it could be great to add for every DAV server embeded app (Nxtcloud, SOGo, etc..) the registery of DNS DAV indication.

    1 Reply Last reply
    3
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      This is interesting. Do webdav clients automatically pick these up? It's the first time I am hearing of these DNS records.

      S 1 Reply Last reply
      1
      • girishG girish

        This is interesting. Do webdav clients automatically pick these up? It's the first time I am hearing of these DNS records.

        S Offline
        S Offline
        saglagla
        wrote on last edited by
        #3

        @girish Yeah, by example the android client can retrieve it automatically.

        1 Reply Last reply
        0
        • wantanfaoW Offline
          wantanfaoW Offline
          wantanfao
          wrote on last edited by
          #4

          Glad I found this. For reference, I set up the following records for a standard Cloudron install with active E-Mail handling and Nextcloud dealing with Card- and CalDAV.

          $DOMAIN = main domain handled by Cloudron (i.e. cloudron.io)
          NEXTCLOUD = cloud.$DOMAIN (i.e. cloud.cloudron.io)

          TXT	 _caldavs._tcp.cloud.$DOMAIN "path=/remote.php/dav" 
          TXT	_carddavs._tcp.cloud.$DOMAIN "path=/remote.php/dav" 
          SRV	_sieve._tcp.$DOMAIN my.$DOMAIN - PORT 4190
          SRV	_autodiscover._tcp.$DOMAIN my.$DOMAIN - PORT 443
          CNAME	autodiscover.$DOMAIN - my.$DOMAIN.
          SRV	_carddavs._tcp.$DOMAIN cloud.$DOMAIN - PORT 443
          SRV	_carddav._tcp.$DOMAIN cloud.$DOMAIN - PORT 80
          SRV	_caldav._tcp.$DOMAIN cloud.$DOMAIN - PORT 80
          SRV	_caldavs._tcp.$DOMAIN cloud.$DOMAIN - PORT 443
          SRV	_submission._tcp.$DOMAIN my.$DOMAIN - PORT 587
          SRV	_imaps._tcp.$DOMAIN my.$DOMAIN - PORT 993
          

          Remarks:

          • _submission._tcp, _imaps._tcp, _autodiscover._tcp (as well as autodiscover CNAME) and _sieve._tcp are valid for any installation where E-Mail for a domain is handled by Cloudron. These records help clients (Thunderbird, Smartphone Mail Apps, etc) to automatically discover the correct IMAP/SMTP Hostnames + Ports. In most cases, with these records set you can have Thunderbird automatically configure your Mailaccount by simply giving the mail address (e.g. info@cloudron.io)
          • _carddav*/_caldav* SRV Records should be set by the respective Apps dealing with the protocols (Sogo, Nextcloud, etc) as the redirection should be pointed to the App's subdomain
          • _caldavs/_carddavs* TXT Records should also be set by the respective Apps, as they instruct DAV clients where to find the concrete path DAV-Requests are handled (does the same as .well_known on the webserver; according to some docs and posts in the internet, these records (SRV+TXT) are required for MacOS/iOS clients to correctly discover and connect)

          There are certainly more things that can be done with this. In general, this is a massive UX plus. DavDroid and Thunderbird both are able to automatically connect and discover everything needed by simply providing the $USER@$DOMAIN E-Mail adress during account setup. Will test more clients today, but I'm sure many follow these standards.

          1 Reply Last reply
          7
          • marcusquinnM Offline
            marcusquinnM Offline
            marcusquinn
            wrote on last edited by
            #5

            👍 for this. PITA doing manually.

            Web Design https://www.evergreen.je
            Development https://brandlight.org
            Life https://marcusquinn.com

            1 Reply Last reply
            1
            • marcusquinnM Offline
              marcusquinnM Offline
              marcusquinn
              wrote on last edited by
              #6

              Worth adding the above handy info this this page:

              https://cloudron.io/documentation/email/#required-ports

              And maybe another page specifically for *dav services?

              Web Design https://www.evergreen.je
              Development https://brandlight.org
              Life https://marcusquinn.com

              1 Reply Last reply
              1
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @marcusquinn I like the idea of atleast just adding a doc page for the moment on how to do this manually till we implement the feature. I will add it our docs.

                1 Reply Last reply
                2
                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