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

AdGuard Home Wildcard aliases

Scheduled Pinned Locked Moved Solved AdGuard Home
porkbunwildcard
56 Posts 6 Posters 9.5k 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 Offline
    L Offline
    lukas
    wrote on last edited by girish
    #1

    Hi,

    I try to add wildcard aliases for my AdGuard Home Subdomain to use Client IDs but I get this error:

    df9779fc-c011-4507-818f-f037d3c84c2a-image.png

    At Porkbun I added this DNS A-Entry:
    24e9f669-ee39-4691-b8de-b55395124d59-image.png

    --> *.agh.mydomain.tld IN A <Cloudron Server IP>

    What could be wrong?

    Thank you and Regards

    L girishG 2 Replies Last reply
    0
    • L lukas

      Hi,

      I try to add wildcard aliases for my AdGuard Home Subdomain to use Client IDs but I get this error:

      df9779fc-c011-4507-818f-f037d3c84c2a-image.png

      At Porkbun I added this DNS A-Entry:
      24e9f669-ee39-4691-b8de-b55395124d59-image.png

      --> *.agh.mydomain.tld IN A <Cloudron Server IP>

      What could be wrong?

      Thank you and Regards

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

      Just FYI: I want to use DoT / DoH on my Android / iOS devices.

      nichu42N 1 Reply Last reply
      0
      • L lukas

        Just FYI: I want to use DoT / DoH on my Android / iOS devices.

        nichu42N Online
        nichu42N Online
        nichu42
        wrote on last edited by
        #3

        @lukas It looks that your DNS is not managed by Cloudron?!

        Matrix: @nichu42:blueplanet.social

        L 1 Reply Last reply
        0
        • nichu42N nichu42

          @lukas It looks that your DNS is not managed by Cloudron?!

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

          @nichu42 it is, using Porkbun API and if I install a new App, DNS A entry will be created

          nichu42N 1 Reply Last reply
          0
          • L lukas

            @nichu42 it is, using Porkbun API and if I install a new App, DNS A entry will be created

            nichu42N Online
            nichu42N Online
            nichu42
            wrote on last edited by
            #5

            @lukas said in AdGuard Home Wildcard aliases:

            @nichu42 it is, using Porkbun API and if I install a new App, DNS A entry will be created

            So was the wildcard *.agh A entry created by you or Cloudron?

            Matrix: @nichu42:blueplanet.social

            L 1 Reply Last reply
            0
            • nichu42N nichu42

              @lukas said in AdGuard Home Wildcard aliases:

              @nichu42 it is, using Porkbun API and if I install a new App, DNS A entry will be created

              So was the wildcard *.agh A entry created by you or Cloudron?

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

              @nichu42 said in AdGuard Home Wildcard aliases:

              So was the wildcard *.agh A entry created by you or Cloudron?

              By me because Cloudron shows me the error which you see in my screenshot

              nichu42N girishG 3 Replies Last reply
              0
              • L lukas

                @nichu42 said in AdGuard Home Wildcard aliases:

                So was the wildcard *.agh A entry created by you or Cloudron?

                By me because Cloudron shows me the error which you see in my screenshot

                nichu42N Online
                nichu42N Online
                nichu42
                wrote on last edited by nichu42
                #7

                @lukas
                I see. That should not be necessary, and I don't know if everything works correctly if it is done manually.

                I am using Cloudflare and as soon as I entered the wildcard alias, the DNS entry was updated automatically with no error message. Everything else you did in AGH seems to be identical to what I did.

                So maybe you should solve the DNS issue first (open a ticket regarding Porkbun DNS integration) before trying to troubleshoot in AdGuard Home.

                Matrix: @nichu42:blueplanet.social

                1 Reply Last reply
                1
                • L lukas

                  Hi,

                  I try to add wildcard aliases for my AdGuard Home Subdomain to use Client IDs but I get this error:

                  df9779fc-c011-4507-818f-f037d3c84c2a-image.png

                  At Porkbun I added this DNS A-Entry:
                  24e9f669-ee39-4691-b8de-b55395124d59-image.png

                  --> *.agh.mydomain.tld IN A <Cloudron Server IP>

                  What could be wrong?

                  Thank you and Regards

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

                  @lukas Do not add the wildcard entry on your own. In fact, remove it. Does it work if you remove it? Maybe we have a bug in our wildcard DNS integration with porkbun.

                  1 Reply Last reply
                  0
                  • girishG girish referenced this topic on
                  • L lukas

                    @nichu42 said in AdGuard Home Wildcard aliases:

                    So was the wildcard *.agh A entry created by you or Cloudron?

                    By me because Cloudron shows me the error which you see in my screenshot

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

                    @lukas actually, I can reproduce it with Porkbun. Investigating.

                    1 Reply Last reply
                    1
                    • L lukas

                      @nichu42 said in AdGuard Home Wildcard aliases:

                      So was the wildcard *.agh A entry created by you or Cloudron?

                      By me because Cloudron shows me the error which you see in my screenshot

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

                      @lukas yeah, there is a bug in their API or I don't know how to access wildcard dns entries via their API. I have sent them an email.

                      I have an A record at adguard.cloudron.click. This works:
                      
                      $ curl -H "Content-Type: application/json" -X POST -d '{ "apikey" : "pk1_6e058c5e56b050d8052ee869dbd137857386dcfd403698b46e6d0e7694acf241", "secretapikey" : "sk1_xx" }' https://porkbun.com/api/json/v3/dns/retrieveByNameType/cloudron.click/A/adguard
                      
                      {"status":"SUCCESS","cloudflare":"enabled","records":[{"id":"313173661","name":"adguard.cloudron.click","type":"A","content":"89.58.59.112","ttl":"600","prio":"0","notes":null}]}
                      
                      
                      I have an A record at *.test.cloudron.click . This does not work:
                      
                      $ curl -w '%{response_code}' -H "Content-Type: application/json" -X POST -d '{ "apikey" : "pk1_6e058c5e56b050d8052ee869dbd137857386dcfd403698b46e6d0e7694acf241", "secretapikey" : "sk1_xx" }' https://porkbun.com/api/json/v3/dns/retrieveByNameType/cloudron.click/A/*.test
                      
                          <div id="container">
                              <h1>An Error Was Encountered</h1>
                              <p>The URI you submitted has disallowed characters.</p>        <p>You can probably find what you're looking for on our <a href="/">homepage</a>.</p>
                          </div>
                      400
                      
                      I tried with percent encoding but that does not work either:
                      
                      $ curl -w '%{response_code}' -H "Content-Type: application/json" -X POST -d '{ "apikey" : "pk1_6e058c5e56b050d8052ee869dbd137857386dcfd403698b46e6d0e7694acf241", "secretapikey" : "sk1_xx" }' https://porkbun.com/api/json/v3/dns/retrieveByNameType/cloudron.click/A/%2A.test
                      
                      {"status":"SUCCESS","cloudflare":"enabled","records":[]}200
                      
                      L B 2 Replies Last reply
                      0
                      • girishG girish marked this topic as a question on
                      • girishG girish

                        @lukas yeah, there is a bug in their API or I don't know how to access wildcard dns entries via their API. I have sent them an email.

                        I have an A record at adguard.cloudron.click. This works:
                        
                        $ curl -H "Content-Type: application/json" -X POST -d '{ "apikey" : "pk1_6e058c5e56b050d8052ee869dbd137857386dcfd403698b46e6d0e7694acf241", "secretapikey" : "sk1_xx" }' https://porkbun.com/api/json/v3/dns/retrieveByNameType/cloudron.click/A/adguard
                        
                        {"status":"SUCCESS","cloudflare":"enabled","records":[{"id":"313173661","name":"adguard.cloudron.click","type":"A","content":"89.58.59.112","ttl":"600","prio":"0","notes":null}]}
                        
                        
                        I have an A record at *.test.cloudron.click . This does not work:
                        
                        $ curl -w '%{response_code}' -H "Content-Type: application/json" -X POST -d '{ "apikey" : "pk1_6e058c5e56b050d8052ee869dbd137857386dcfd403698b46e6d0e7694acf241", "secretapikey" : "sk1_xx" }' https://porkbun.com/api/json/v3/dns/retrieveByNameType/cloudron.click/A/*.test
                        
                            <div id="container">
                                <h1>An Error Was Encountered</h1>
                                <p>The URI you submitted has disallowed characters.</p>        <p>You can probably find what you're looking for on our <a href="/">homepage</a>.</p>
                            </div>
                        400
                        
                        I tried with percent encoding but that does not work either:
                        
                        $ curl -w '%{response_code}' -H "Content-Type: application/json" -X POST -d '{ "apikey" : "pk1_6e058c5e56b050d8052ee869dbd137857386dcfd403698b46e6d0e7694acf241", "secretapikey" : "sk1_xx" }' https://porkbun.com/api/json/v3/dns/retrieveByNameType/cloudron.click/A/%2A.test
                        
                        {"status":"SUCCESS","cloudflare":"enabled","records":[]}200
                        
                        L Offline
                        L Offline
                        lukas
                        wrote on last edited by
                        #11

                        @girish cool, thank you for checking this. So we have to wait for Porkbuns support response, right?

                        girishG 1 Reply Last reply
                        1
                        • L lukas

                          @girish cool, thank you for checking this. So we have to wait for Porkbuns support response, right?

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

                          @lukas yes. Their API is quite strange, so it's kinda hard to guess. For example, all requests are POST (even to retrieve stuff).

                          L 1 Reply Last reply
                          1
                          • girishG girish

                            @lukas yes. Their API is quite strange, so it's kinda hard to guess. For example, all requests are POST (even to retrieve stuff).

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

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

                            girishG 2 Replies Last reply
                            0
                            • 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
                              #14

                              @lukas yes

                              L 1 Reply Last reply
                              0
                              • girishG girish

                                @lukas yes

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

                                @girish I switched to other domain (DNS Provider: Wildcard). Now I have to create manually the *.adgaurd.mydomain.tld DNS A-Entry are there more entries which I have to create manually ?

                                BrutalBirdieB 1 Reply Last reply
                                0
                                • L lukas

                                  @girish I switched to other domain (DNS Provider: Wildcard). Now I have to create manually the *.adgaurd.mydomain.tld DNS A-Entry are there more entries which I have to create manually ?

                                  BrutalBirdieB Offline
                                  BrutalBirdieB Offline
                                  BrutalBirdie
                                  Partner
                                  wrote on last edited by
                                  #16

                                  @lukas
                                  I am using Cloudflare and for me I had to restart the app after adding a client identifier.
                                  39e7bc07-5a14-4ae3-b3ba-a6a6e0d67452-image.png

                                  Now in my Android I set the eliasop7.dns.DOMAIN.TLD - this only worked after an app restart I am not sure if the app restart is really necessary.

                                  c9f43051-4ed5-4571-b2ce-d1449e88e9ad-image.png

                                  Like my work? Consider donating a drink. Cheers!

                                  L 1 Reply Last reply
                                  0
                                  • BrutalBirdieB BrutalBirdie

                                    @lukas
                                    I am using Cloudflare and for me I had to restart the app after adding a client identifier.
                                    39e7bc07-5a14-4ae3-b3ba-a6a6e0d67452-image.png

                                    Now in my Android I set the eliasop7.dns.DOMAIN.TLD - this only worked after an app restart I am not sure if the app restart is really necessary.

                                    c9f43051-4ed5-4571-b2ce-d1449e88e9ad-image.png

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

                                    @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 KubernetesK 2 Replies 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
                                      
                                      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
                                          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