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
  • Brite
  • 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. AdGuard Home
  3. AdGuard Home Wildcard aliases

AdGuard Home Wildcard aliases

Scheduled Pinned Locked Moved Solved AdGuard Home
porkbunwildcard
56 Posts 6 Posters 12.4k Views 6 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.
  • L lukas

    @BrutalBirdie thank you but something is generally wrong here... wondering why there is no *.adguard.mydomain.tld but only *.mydomain.tld

    1b297d3d-1d4d-4015-b872-f763515abb6d-image.png ...

    here my Cloudron AdGuard Home App settings:

    0b389620-b637-448b-a260-66d7bdb1c9ce-image.png

    and If I try to connect via private DNS (Android) then I see this in Log-File:

    [error] handling tcp: reading msg: reading len: remote error: tls: unknown certificate authority
    
    BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie
    Partner
    wrote on last edited by
    #18

    @lukas OH! Sorry I read the topic completely wrong! Sorry about that.

    Like my work? Consider donating a drink. Cheers!

    1 Reply Last reply
    0
    • L lukas

      @BrutalBirdie thank you but something is generally wrong here... wondering why there is no *.adguard.mydomain.tld but only *.mydomain.tld

      1b297d3d-1d4d-4015-b872-f763515abb6d-image.png ...

      here my Cloudron AdGuard Home App settings:

      0b389620-b637-448b-a260-66d7bdb1c9ce-image.png

      and If I try to connect via private DNS (Android) then I see this in Log-File:

      [error] handling tcp: reading msg: reading len: remote error: tls: unknown certificate authority
      
      KubernetesK Offline
      KubernetesK Offline
      Kubernetes
      App Dev
      wrote on last edited by Kubernetes
      #19

      @lukas may you explain for what reason you want to have an Alias Domain for AdGuard, please? I think 99% of all use cases doesn't need an Alias Domain for it.

      L 1 Reply Last reply
      0
      • KubernetesK Kubernetes

        @lukas may you explain for what reason you want to have an Alias Domain for AdGuard, please? I think 99% of all use cases doesn't need an Alias Domain for it.

        L Offline
        L Offline
        lukas
        wrote on last edited by
        #20

        @Kubernetes I want to use DoT / DoH on my Android / iOS devices and allow only my clients to use this AdGuard Home instance. I'm doing something wrong?

        KubernetesK 1 Reply Last reply
        0
        • L lukas

          @Kubernetes I want to use DoT / DoH on my Android / iOS devices and allow only my clients to use this AdGuard Home instance. I'm doing something wrong?

          KubernetesK Offline
          KubernetesK Offline
          Kubernetes
          App Dev
          wrote on last edited by
          #21

          @lukas Okay, then you don't need an Alias in Cloudron for AdGuard. What you need to do is to configure the ClientIDs as I mentioned in your other Thread directly in the AdGuard Home Admin Interface 🙂

          L 1 Reply Last reply
          0
          • KubernetesK Kubernetes

            @lukas Okay, then you don't need an Alias in Cloudron for AdGuard. What you need to do is to configure the ClientIDs as I mentioned in your other Thread directly in the AdGuard Home Admin Interface 🙂

            L Offline
            L Offline
            lukas
            wrote on last edited by lukas
            #22

            @Kubernetes But If I don't need an Alias for AdGaurd in Cloudron, how do I set the Client Identifier ind Adroids Private DNS and / or in AdGuard App? Sorry but it's confusing for me.

            It this Guide https://docs.cloudron.io/apps/adguard-home/#security i need DoT for my Android devices, to an wildcard alias is needed to identify my Android devices

            KubernetesK 1 Reply Last reply
            0
            • L lukas

              @Kubernetes But If I don't need an Alias for AdGaurd in Cloudron, how do I set the Client Identifier ind Adroids Private DNS and / or in AdGuard App? Sorry but it's confusing for me.

              It this Guide https://docs.cloudron.io/apps/adguard-home/#security i need DoT for my Android devices, to an wildcard alias is needed to identify my Android devices

              KubernetesK Offline
              KubernetesK Offline
              Kubernetes
              App Dev
              wrote on last edited by
              #23

              @lukas You have to set the ClientID in Adguard Home Admin Interface, but not in Cloudron. Then all you need to do is to combine the URL to your Adguard Home with the ClientID you have configured already.

              This should look like this:
              https://adguard.yourdomain.tld/dns-query/CLIENTID

              I assume that you never had a look at the Adguard Home Admin Interface, did you? There is a tab "Setup Assistant" which explains how to do it with Android, Windows, Browser, iOS, Router....

              I hope that helps?

              L 1 Reply Last reply
              0
              • KubernetesK Kubernetes

                @lukas You have to set the ClientID in Adguard Home Admin Interface, but not in Cloudron. Then all you need to do is to combine the URL to your Adguard Home with the ClientID you have configured already.

                This should look like this:
                https://adguard.yourdomain.tld/dns-query/CLIENTID

                I assume that you never had a look at the Adguard Home Admin Interface, did you? There is a tab "Setup Assistant" which explains how to do it with Android, Windows, Browser, iOS, Router....

                I hope that helps?

                L Offline
                L Offline
                lukas
                wrote on last edited by lukas
                #24

                @Kubernetes said in AdGuard Home Wildcard aliases:

                This should look like this:
                https://adguard.yourdomain.tld/dns-query/CLIENTID

                yes, but for Android I have to use DoT and not DoH ?

                DoT
                DNS over TLS (DoT) is supported and uses port 853 by default. DoT is required for Android's "Private DNS mode" (available since Android 9.0 Pie).
                
                To use Client ID identifiers, you must add a wildcard subdomain alias of the form *.adguard.domain.com.
                
                KubernetesK 1 Reply Last reply
                1
                • L lukas

                  @Kubernetes said in AdGuard Home Wildcard aliases:

                  This should look like this:
                  https://adguard.yourdomain.tld/dns-query/CLIENTID

                  yes, but for Android I have to use DoT and not DoH ?

                  DoT
                  DNS over TLS (DoT) is supported and uses port 853 by default. DoT is required for Android's "Private DNS mode" (available since Android 9.0 Pie).
                  
                  To use Client ID identifiers, you must add a wildcard subdomain alias of the form *.adguard.domain.com.
                  
                  KubernetesK Offline
                  KubernetesK Offline
                  Kubernetes
                  App Dev
                  wrote on last edited by
                  #25

                  @lukas Ahh, okay, I don't use DoT, so I don't know how this is setup correctly.

                  L 1 Reply Last reply
                  0
                  • KubernetesK Kubernetes

                    @lukas Ahh, okay, I don't use DoT, so I don't know how this is setup correctly.

                    L Offline
                    L Offline
                    lukas
                    wrote on last edited by
                    #26

                    @Kubernetes as I understand this, for DoT I need a wildcard domain. In AdGuard Adnroid app I can use DoH with your string, this works fine.

                    1 Reply Last reply
                    1
                    • girishG girish moved this topic from Support on
                    • L lukas

                      @girish so until issue is fixed no chance to use AdGuard Home DoT / DoH ?

                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #27

                      @lukas to give an update, I still haven't gotten a response from Porkbun. They were supposed to reply last monday. Sent them a reminder on Friday.

                      L 1 Reply Last reply
                      1
                      • girishG girish

                        @lukas to give an update, I still haven't gotten a response from Porkbun. They were supposed to reply last monday. Sent them a reminder on Friday.

                        L Offline
                        L Offline
                        lukas
                        wrote on last edited by lukas
                        #28

                        @girish I switched now from Porkbun API to Wildcard Domain. How to get it working now?

                        Just get this:

                        Apr 29 22:16:09 2023/04/29 20:16:09.334842 [error] handling tcp: reading msg: reading len: remote error: tls: unknown certificate authority
                        Apr 29 22:16:09 2023/04/29 20:16:09.584416 [error] handling tcp: reading msg: reading len: remote error: tls: unknown certificate authority
                        Apr 29 22:16:09 2023/04/29 20:16:09.602320 [error] handling tcp: reading msg: reading len: remote error: tls: unknown certificate authority
                        
                        girishG 1 Reply Last reply
                        0
                        • L lukas

                          @girish I switched now from Porkbun API to Wildcard Domain. How to get it working now?

                          Just get this:

                          Apr 29 22:16:09 2023/04/29 20:16:09.334842 [error] handling tcp: reading msg: reading len: remote error: tls: unknown certificate authority
                          Apr 29 22:16:09 2023/04/29 20:16:09.584416 [error] handling tcp: reading msg: reading len: remote error: tls: unknown certificate authority
                          Apr 29 22:16:09 2023/04/29 20:16:09.602320 [error] handling tcp: reading msg: reading len: remote error: tls: unknown certificate authority
                          
                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #29

                          @lukas Yeah, so they never got back 😕 I even sent them a reminder. Please point them to this thread (if you are a customer). I sent mails from girish@cloudron.io

                          Unfortunately, one cannot create a wildcard certificate from the Wildcard Domain. This is because Let's Encrypt requires you to set values in the DNS to get a wildcard cert. With a wildcard provider, Cloudron has no way to program the DNS. Only fix right now is to switch to some other programmable DNS provider. Sorry...

                          L 2 Replies Last reply
                          0
                          • girishG girish

                            @lukas Yeah, so they never got back 😕 I even sent them a reminder. Please point them to this thread (if you are a customer). I sent mails from girish@cloudron.io

                            Unfortunately, one cannot create a wildcard certificate from the Wildcard Domain. This is because Let's Encrypt requires you to set values in the DNS to get a wildcard cert. With a wildcard provider, Cloudron has no way to program the DNS. Only fix right now is to switch to some other programmable DNS provider. Sorry...

                            L Offline
                            L Offline
                            lukas
                            wrote on last edited by lukas
                            #30

                            @girish is there any other way to do this? I switched my Nameservers to Bunny.net from this domain, so I wait to next cloudron release 🙂

                            girishG 1 Reply Last reply
                            0
                            • L lukas

                              @girish is there any other way to do this? I switched my Nameservers to Bunny.net from this domain, so I wait to next cloudron release 🙂

                              girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #31

                              @lukas Yup, so in next release, it should work 🤞 You have to switch to some other provider for something immediate (like today).

                              L 1 Reply Last reply
                              1
                              • girishG girish

                                @lukas Yup, so in next release, it should work 🤞 You have to switch to some other provider for something immediate (like today).

                                L Offline
                                L Offline
                                lukas
                                wrote on last edited by
                                #32

                                @girish ok, then I will wait for next release. Will it come today? 🙂

                                1 Reply Last reply
                                0
                                • girishG girish

                                  @lukas Yeah, so they never got back 😕 I even sent them a reminder. Please point them to this thread (if you are a customer). I sent mails from girish@cloudron.io

                                  Unfortunately, one cannot create a wildcard certificate from the Wildcard Domain. This is because Let's Encrypt requires you to set values in the DNS to get a wildcard cert. With a wildcard provider, Cloudron has no way to program the DNS. Only fix right now is to switch to some other programmable DNS provider. Sorry...

                                  L Offline
                                  L Offline
                                  lukas
                                  wrote on last edited by
                                  #33

                                  @girish said in AdGuard Home Wildcard aliases:

                                  Yeah, so they never got back I even sent them a reminder. Please point them to this thread (if you are a customer). I sent mails from girish@cloudron.io

                                  you got maybe any ticket number? I will contact them now

                                  girishG 1 Reply Last reply
                                  0
                                  • L lukas

                                    @girish said in AdGuard Home Wildcard aliases:

                                    Yeah, so they never got back I even sent them a reminder. Please point them to this thread (if you are a customer). I sent mails from girish@cloudron.io

                                    you got maybe any ticket number? I will contact them now

                                    girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #34

                                    @lukas they didn't give me one.

                                    L 1 Reply Last reply
                                    1
                                    • girishG girish

                                      @lukas they didn't give me one.

                                      L Offline
                                      L Offline
                                      lukas
                                      wrote on last edited by
                                      #35

                                      @girish update to latest Cloudron Version, bunny.net integration is working fine (thanks for this), but DoT on my Android Phone is still not working, in AdGuard Home Log I see:

                                      May 02 10:35:57 2023/05/02 08:35:57.599729 [error] handling tcp: reading msg: reading len: remote error: tls: bad certificate
                                      May 02 10:35:57 2023/05/02 08:35:57.907614 [error] handling tcp: reading msg: reading len: remote error: tls: bad certificate
                                      May 02 10:35:57 2023/05/02 08:35:57.914408 [error] handling tcp: reading msg: reading len: remote error: tls: bad certificate
                                      

                                      What is wrong? I use <clientname>.adguard.mydomain.TLD and I added an Alias (*.adgaurd) to AdGuard Home.

                                      What is wrong?

                                      Thank you and Regards,
                                      Lukas

                                      girishG 1 Reply Last reply
                                      0
                                      • L lukas

                                        @girish update to latest Cloudron Version, bunny.net integration is working fine (thanks for this), but DoT on my Android Phone is still not working, in AdGuard Home Log I see:

                                        May 02 10:35:57 2023/05/02 08:35:57.599729 [error] handling tcp: reading msg: reading len: remote error: tls: bad certificate
                                        May 02 10:35:57 2023/05/02 08:35:57.907614 [error] handling tcp: reading msg: reading len: remote error: tls: bad certificate
                                        May 02 10:35:57 2023/05/02 08:35:57.914408 [error] handling tcp: reading msg: reading len: remote error: tls: bad certificate
                                        

                                        What is wrong? I use <clientname>.adguard.mydomain.TLD and I added an Alias (*.adgaurd) to AdGuard Home.

                                        What is wrong?

                                        Thank you and Regards,
                                        Lukas

                                        girishG Offline
                                        girishG Offline
                                        girish
                                        Staff
                                        wrote on last edited by
                                        #36

                                        @lukas If you go to Location view and click Save (without making any changes), does that help the situation ? That should maybe (re)trigger getting the cert.

                                        L 1 Reply Last reply
                                        0
                                        • girishG girish

                                          @lukas If you go to Location view and click Save (without making any changes), does that help the situation ? That should maybe (re)trigger getting the cert.

                                          L Offline
                                          L Offline
                                          lukas
                                          wrote on last edited by
                                          #37

                                          @girish did not help. This looks also not fine:

                                          bdca3c66-576e-4891-b1b3-9026d9d2be43-image.png

                                          Certificate chain is invalid

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