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. Support
  3. PTR record reports being set wrong

PTR record reports being set wrong

Scheduled Pinned Locked Moved Solved Support
ptrdns
20 Posts 4 Posters 2.8k 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #6

    You can restart unbound in Services and check if it helps solve the problem? After restart, try host -t PTR <ip address> 127.0.0.1.

    A 1 Reply Last reply
    1
    • girishG girish

      You can restart unbound in Services and check if it helps solve the problem? After restart, try host -t PTR <ip address> 127.0.0.1.

      A Offline
      A Offline
      AartJansen
      wrote on last edited by
      #7

      @girish said in PTR record reports being set wrong:

      host -t PTR <public ip> 127.0.0.1

      The result comes back as domain name pointer nextcloud.domain, not my.domain (I had restarted the unbound service first)

      I wonder, I recently removed roundcube (my first app) and use sogo instead. (using sogo.domain)
      I didn't use a custom prefix for roundcube, so it had my.domain the second app I installed was nextcloud, and I added that custom domain name of nextcloud.domain

      Could that action have upset its own DNS records?

      girishG 1 Reply Last reply
      0
      • A AartJansen

        @girish said in PTR record reports being set wrong:

        host -t PTR <public ip> 127.0.0.1

        The result comes back as domain name pointer nextcloud.domain, not my.domain (I had restarted the unbound service first)

        I wonder, I recently removed roundcube (my first app) and use sogo instead. (using sogo.domain)
        I didn't use a custom prefix for roundcube, so it had my.domain the second app I installed was nextcloud, and I added that custom domain name of nextcloud.domain

        Could that action have upset its own DNS records?

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

        @AartJansen PTR records are not set in the DNS. They are set in your VPS Provider. Please see https://docs.cloudron.io/email/#ptr-record . It's not related to adding/removing apps. Cloudron has no automation (and indeed it's impossible) for setting and changing PTR records.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AartJansen
          wrote on last edited by
          #9

          Except if I test the PTR record it reports correctly, only the cloudron server itself is misreporting the result.
          https://mxtoolbox.com/SuperTool.aspx using PTR tool says the DNS name is my.domain.

          girishG 1 Reply Last reply
          0
          • A AartJansen

            Except if I test the PTR record it reports correctly, only the cloudron server itself is misreporting the result.
            https://mxtoolbox.com/SuperTool.aspx using PTR tool says the DNS name is my.domain.

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

            @AartJansen that's good to know. Can you check what host -t PTR <public ip> 8.8.8.8 reports on the server? This is querying the google DNS.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              AartJansen
              wrote on last edited by
              #11

              thats also coming back as the wrong result.

              girishG 1 Reply Last reply
              0
              • A AartJansen

                thats also coming back as the wrong result.

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

                @AartJansen you can check in https://dnschecker.org/ if the PTR record has propagated properly . Otherwise, if you can send me IP address to support@cloudron.io, I can check what we see here. Most likely you have to ask your VPS provider why the name is reverse resolving properly.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  AartJansen
                  wrote on last edited by AartJansen
                  #13

                  its self hosted, and my ISP set it a long time ago. when I use that site to view my PTR for the IP, all come up as green (and the correct domain) except sitehost in auckland NZ (which is oddly the closest geographically to me). its a red cross.

                  girishG 1 Reply Last reply
                  0
                  • A AartJansen

                    its self hosted, and my ISP set it a long time ago. when I use that site to view my PTR for the IP, all come up as green (and the correct domain) except sitehost in auckland NZ (which is oddly the closest geographically to me). its a red cross.

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

                    @AartJansen I can confirm that the PTR looks correct from here. Not sure why your unbound is not resolving it properly. Have you added any additional configs in unbound? If not, can you write to us at support@cloudron.io and we can debug as to why it's not correct.

                    1 Reply Last reply
                    1
                    • A Offline
                      A Offline
                      AartJansen
                      wrote on last edited by
                      #15

                      No I don't have anything customized in unbound, have sent an email.

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

                        This was resolved in support. There was a static DNS record on the local router.

                        1 Reply Last reply
                        3
                        • girishG girish has marked this topic as solved on
                        • A Offline
                          A Offline
                          AartJansen
                          wrote on last edited by
                          #17

                          It's kind of odd, that rules been there for many months, I don't remember the exact issue I had that caused me to add it. Which could either be the problem was fixed by it, and will return (I guess that will remind me what it fixed), or it fixed nothing, and I forgot to undo it.
                          Still pretty strange that it started DNS problems so much later.

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            AartJansen
                            wrote on last edited by
                            #18

                            Umm, its happening again.

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

                              I would test the DNS resolution from other computers in the network. This is happening outside of Cloudron.

                              1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                AartJansen
                                wrote on last edited by
                                #20

                                it just went away, i think the router had a DNS cache thats flushed now. It's no longer being set as the DNS server via DHCP, so I think its resolved.

                                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