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. DNS domain expiration monitoring

DNS domain expiration monitoring

Scheduled Pinned Locked Moved Feature Requests
44 Posts 11 Posters 4.9k Views 10 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
    #21

    Looks like the whois list is available as json here - https://github.com/FurqanSoftware/node-whois/blob/master/servers.json and another here - https://github.com/weppos/whois/blob/main/data/tld.json . @potemkin_ai great link! didn't know the ways to discover whois servers.

    1 Reply Last reply
    2
    • mehdiM mehdi

      WHOIS is not reliable on this at all ... I have seen several instances of whois saying a domain is about to expire when it has already been updated.

      This feature would be cool, but I don't know of any way to implement this, short of having API access to various registrars.

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

      @mehdi said in DNS domain expiration monitoring:

      This feature would be cool, but I don't know of any way to implement this, short of having API access to various registrars.

      Yeah.. same, I suspect if we add this, it will be more informational than authoritative. whois is often outdated/lags. So maybe we even let the admin set the expiry date for domains with missing/wrong whois records.

      1 Reply Last reply
      1
      • potemkin_aiP potemkin_ai

        it doesn't seem to be impossible thought (https://serverfault.com/questions/343941/how-can-i-find-the-whois-server-for-any-tld); and if the domain is not in whois database, you can display message, saying that your domain is not in our whois database - please, let us know what to query, if you would like us to keep you up to date with that - this way, if I'm using rare registar, who doesn't provide data to everyone, I can supply whoise server to query from this registar and be a happy user, knowing, that my Cloudron is also taking care about the DNS (without which it won't work like at all, btw).

        mehdiM Offline
        mehdiM Offline
        mehdi
        App Dev
        wrote on last edited by
        #23

        @potemkin_ai said in DNS domain expiration monitoring:

        it doesn't seem to be impossible thought (https://serverfault.com/questions/343941/how-can-i-find-the-whois-server-for-any-tld);

        You misunderstand my point : the problem is not finding the correct whois server. That is trivial. The problem is that the information in whois responses about domain registration expiration dates is, more often than not, πŸ’©

        potemkin_aiP 1 Reply Last reply
        0
        • mehdiM mehdi

          @potemkin_ai said in DNS domain expiration monitoring:

          it doesn't seem to be impossible thought (https://serverfault.com/questions/343941/how-can-i-find-the-whois-server-for-any-tld);

          You misunderstand my point : the problem is not finding the correct whois server. That is trivial. The problem is that the information in whois responses about domain registration expiration dates is, more often than not, πŸ’©

          potemkin_aiP Offline
          potemkin_aiP Offline
          potemkin_ai
          wrote on last edited by
          #24

          @mehdi even if, it’s better than nothing

          mehdiM 1 Reply Last reply
          0
          • robiR Offline
            robiR Offline
            robi
            wrote on last edited by robi
            #25

            @mehdi @potemkin_ai

            This addresses both of your concerns:

            1. Checked when the domain is added to cloudron, that's fairly reliable as the pattern is new domains get added, plenty of time. 1yr+

            2. Close to that expiration date for the domain from 1. , it can warn and be checked until a renewal is detected or marked renewed. Better than 72hrs.

            @girish Cloudron can keep track of this in the DB and warn/update accordingly. Easy-peasy.

            Conscious tech

            1 Reply Last reply
            0
            • potemkin_aiP potemkin_ai

              @mehdi even if, it’s better than nothing

              mehdiM Offline
              mehdiM Offline
              mehdi
              App Dev
              wrote on last edited by
              #26

              @potemkin_ai said in DNS domain expiration monitoring:

              @mehdi even if, it’s better than nothing

              I honestly don't believe so : a check that has more false-positives than true positives is not very useful... It would worry people about nothing all the time.

              potemkin_aiP 1 Reply Last reply
              2
              • mehdiM mehdi

                @potemkin_ai said in DNS domain expiration monitoring:

                @mehdi even if, it’s better than nothing

                I honestly don't believe so : a check that has more false-positives than true positives is not very useful... It would worry people about nothing all the time.

                potemkin_aiP Offline
                potemkin_aiP Offline
                potemkin_ai
                wrote on last edited by
                #27

                @mehdi we definitely have a different perspective here.

                I believe, that giving me a chance to prevent service shutdown for 72 hours for the outside world is a very valuable thing.

                I also like the idea of fetching fresh data from whois on expiration data and letting me to correct whois server or the expiration data itself.

                There is little I can do to turn you into my faith, I'm just saying what I see and experience.

                d19dotcaD 1 Reply Last reply
                2
                • potemkin_aiP potemkin_ai

                  @mehdi we definitely have a different perspective here.

                  I believe, that giving me a chance to prevent service shutdown for 72 hours for the outside world is a very valuable thing.

                  I also like the idea of fetching fresh data from whois on expiration data and letting me to correct whois server or the expiration data itself.

                  There is little I can do to turn you into my faith, I'm just saying what I see and experience.

                  d19dotcaD Offline
                  d19dotcaD Offline
                  d19dotca
                  wrote on last edited by d19dotca
                  #28

                  @potemkin_ai I'd be in favour of Cloudron adding in some nice-to-have like a domain expiry notification if it has that access but also only if it's feasible to include in the first place. I wouldn't want that taking away hours from the Cloudron team.

                  Ultimately though as I see it, the trigger for this feature request seems like more of an issue with notifications from the registrar which is well outside of Cloudron's scope.

                  Additionally the result of losing a domain can easily be avoided by enabling auto-renew. I recognize Auto-Renew isn't for everyone (some people don't like having credit cards on file for instance) but it's used by the vast majority and is quite literally designed to avoid this very issue. If the risk of losing a domain is too high, then auto-renew should be used.

                  Also, a simple Calendar entry can help. I have my Calendar with entries with 2-week reminders for all my domains just in case so I can double-check that it has auto-renew enabled and if not then I can set it correctly or renew it manually right then and there.

                  We have to take responsibility with ownership of domains and ensure these things don't happen and there many ways to do that ourselves (two most common mentioned above). I don't believe Cloudron should be the vessel for that task personally, but hey if it's an easy add then totally cool to see. πŸ™‚

                  --
                  Dustin Dauncey
                  www.d19.ca

                  ruihildtR potemkin_aiP 2 Replies Last reply
                  4
                  • d19dotcaD d19dotca

                    @potemkin_ai I'd be in favour of Cloudron adding in some nice-to-have like a domain expiry notification if it has that access but also only if it's feasible to include in the first place. I wouldn't want that taking away hours from the Cloudron team.

                    Ultimately though as I see it, the trigger for this feature request seems like more of an issue with notifications from the registrar which is well outside of Cloudron's scope.

                    Additionally the result of losing a domain can easily be avoided by enabling auto-renew. I recognize Auto-Renew isn't for everyone (some people don't like having credit cards on file for instance) but it's used by the vast majority and is quite literally designed to avoid this very issue. If the risk of losing a domain is too high, then auto-renew should be used.

                    Also, a simple Calendar entry can help. I have my Calendar with entries with 2-week reminders for all my domains just in case so I can double-check that it has auto-renew enabled and if not then I can set it correctly or renew it manually right then and there.

                    We have to take responsibility with ownership of domains and ensure these things don't happen and there many ways to do that ourselves (two most common mentioned above). I don't believe Cloudron should be the vessel for that task personally, but hey if it's an easy add then totally cool to see. πŸ™‚

                    ruihildtR Offline
                    ruihildtR Offline
                    ruihildt
                    wrote on last edited by
                    #29

                    @d19dotca Depending on countries, credit card can actually be pretty hard to obtain for a lot of people.

                    But I agree this is out of scope, unless there's an easy adn reliable way to figure it out.

                    1 Reply Last reply
                    0
                    • d19dotcaD d19dotca

                      @potemkin_ai I'd be in favour of Cloudron adding in some nice-to-have like a domain expiry notification if it has that access but also only if it's feasible to include in the first place. I wouldn't want that taking away hours from the Cloudron team.

                      Ultimately though as I see it, the trigger for this feature request seems like more of an issue with notifications from the registrar which is well outside of Cloudron's scope.

                      Additionally the result of losing a domain can easily be avoided by enabling auto-renew. I recognize Auto-Renew isn't for everyone (some people don't like having credit cards on file for instance) but it's used by the vast majority and is quite literally designed to avoid this very issue. If the risk of losing a domain is too high, then auto-renew should be used.

                      Also, a simple Calendar entry can help. I have my Calendar with entries with 2-week reminders for all my domains just in case so I can double-check that it has auto-renew enabled and if not then I can set it correctly or renew it manually right then and there.

                      We have to take responsibility with ownership of domains and ensure these things don't happen and there many ways to do that ourselves (two most common mentioned above). I don't believe Cloudron should be the vessel for that task personally, but hey if it's an easy add then totally cool to see. πŸ™‚

                      potemkin_aiP Offline
                      potemkin_aiP Offline
                      potemkin_ai
                      wrote on last edited by
                      #30

                      @d19dotca I can work this around, trust me. But I used to let tools to assist me, especially, since there is a very easy way to do that - described above.

                      1 Reply Last reply
                      0
                      • colonelpanicC Offline
                        colonelpanicC Offline
                        colonelpanic
                        wrote on last edited by
                        #31

                        If this is such a big issue and you can't pay attention to the emails from your registrar to renew your domain then transfer it to a registrar that will auto-renew the domain for you.

                        potemkin_aiP 1 Reply Last reply
                        0
                        • colonelpanicC colonelpanic

                          If this is such a big issue and you can't pay attention to the emails from your registrar to renew your domain then transfer it to a registrar that will auto-renew the domain for you.

                          potemkin_aiP Offline
                          potemkin_aiP Offline
                          potemkin_ai
                          wrote on last edited by
                          #32

                          @colonelpanic thank you for the advice; it's just that I didn't look for one, sorry.

                          But, to recap: as I mentioned earlier, when you start managing your client's domains and earn money with Cloudron, things get complicated.

                          d19dotcaD 1 Reply Last reply
                          0
                          • potemkin_aiP potemkin_ai

                            @colonelpanic thank you for the advice; it's just that I didn't look for one, sorry.

                            But, to recap: as I mentioned earlier, when you start managing your client's domains and earn money with Cloudron, things get complicated.

                            d19dotcaD Offline
                            d19dotcaD Offline
                            d19dotca
                            wrote on last edited by d19dotca
                            #33

                            @potemkin_ai said in DNS domain expiration monitoring:

                            when you start managing your client's domains and earn money with Cloudron, things get complicated.

                            That is exactly what I do though (and I suspect many others in here), and have never had a problem with domain expirations in about 12 years of managing them for a couple dozen customers. It makes me wonder if the issue for you comes down to the registrar you're using or your own administration techniques that may need to change or be tweaked to improve managing domains for customers. I don't find it complicated at all, personally, but maybe that's just down to what I do.

                            What I do that may help you:

                            • Generally aim to use one domain registrar if possible, or at least as few as possible to allow support for them to be easier to use and some registrars even give small discounts after 10 domains are registered with them for example
                            • Setup all domains for auto-renewal enabled
                            • I bill customers annually for hosting which includes their domain name and it's always for the next calendar year. So I'll bill in late November 2022 for the service calendar year of 2023 for example, meaning that if they choose not to renew services then I simply disable the auto-renew feature on their domain so it doesn't accidentally charge my card when it's due in 2023 (and if I forget, I'm only out about $20 CAD which is really just a cost of doing business as it would be my own fault if I forgot to disable auto-renew)
                            • I add domain expiry reminders to my calendar with an alert 2 weeks in advance for me to double-check everything ahead of time (once it's all set though it's basically set-and-forget, but nice to have the time to double-check if needed)
                            • I remind my customers periodically (about once or twice a year) to ensure they want the same domain name going forward and if they want a different one (or even just a different TLD for example) so that I can plan accordingly if they desire any changes to be made for the next year ahead

                            I'd still enjoy seeing Cloudron assist if possible (after all, technology is meant to help us not harm us), but I also recognize that's really outside of their scope of work at least IMO when domains are all registered and renewed and generally managed outside of Cloudron, and would hate to see hours wasted on it when so many other things are very highly requested and more inside the scope of what Cloudron is meant to be responsible for. If it's an easy thing to add though, then cool. Hopefully the advice above helps you out in the meantime though. πŸ™‚

                            --
                            Dustin Dauncey
                            www.d19.ca

                            potemkin_aiP 1 Reply Last reply
                            3
                            • d19dotcaD d19dotca

                              @potemkin_ai said in DNS domain expiration monitoring:

                              when you start managing your client's domains and earn money with Cloudron, things get complicated.

                              That is exactly what I do though (and I suspect many others in here), and have never had a problem with domain expirations in about 12 years of managing them for a couple dozen customers. It makes me wonder if the issue for you comes down to the registrar you're using or your own administration techniques that may need to change or be tweaked to improve managing domains for customers. I don't find it complicated at all, personally, but maybe that's just down to what I do.

                              What I do that may help you:

                              • Generally aim to use one domain registrar if possible, or at least as few as possible to allow support for them to be easier to use and some registrars even give small discounts after 10 domains are registered with them for example
                              • Setup all domains for auto-renewal enabled
                              • I bill customers annually for hosting which includes their domain name and it's always for the next calendar year. So I'll bill in late November 2022 for the service calendar year of 2023 for example, meaning that if they choose not to renew services then I simply disable the auto-renew feature on their domain so it doesn't accidentally charge my card when it's due in 2023 (and if I forget, I'm only out about $20 CAD which is really just a cost of doing business as it would be my own fault if I forgot to disable auto-renew)
                              • I add domain expiry reminders to my calendar with an alert 2 weeks in advance for me to double-check everything ahead of time (once it's all set though it's basically set-and-forget, but nice to have the time to double-check if needed)
                              • I remind my customers periodically (about once or twice a year) to ensure they want the same domain name going forward and if they want a different one (or even just a different TLD for example) so that I can plan accordingly if they desire any changes to be made for the next year ahead

                              I'd still enjoy seeing Cloudron assist if possible (after all, technology is meant to help us not harm us), but I also recognize that's really outside of their scope of work at least IMO when domains are all registered and renewed and generally managed outside of Cloudron, and would hate to see hours wasted on it when so many other things are very highly requested and more inside the scope of what Cloudron is meant to be responsible for. If it's an easy thing to add though, then cool. Hopefully the advice above helps you out in the meantime though. πŸ™‚

                              potemkin_aiP Offline
                              potemkin_aiP Offline
                              potemkin_ai
                              wrote on last edited by
                              #34

                              @d19dotca thank you - I can't change my customers, so I was looking for the tool that could help to avoid quite an outage I had.

                              1 Reply Last reply
                              0
                              • potemkin_aiP potemkin_ai

                                After having an outage, caused by a missed mail from my DNS provider, I would really much appreciate having domain expiration monitoring at CloudRon.

                                rmdesR Offline
                                rmdesR Offline
                                rmdes
                                wrote on last edited by rmdes
                                #35

                                @potemkin_ai Why at cloudron?

                                my setup :
                                I get my domain renewal notices from my registrar but for this to work flawlessly,
                                you can't use a cloudron email to get the alerts, it needs to be an out of cloudron context email (gmail etc..)
                                in my case it's dedicated to this & billing of domain/vps's, so I know every time there is an email there it's important and need to be taken care of.

                                When everything is smooth, I usually auto-forward these type of emails to my associates, so I'm not the only one getting it or not and since the mailbox getting them is outside cloudron it's very rare to miss something.

                                On top of that, at my registrar, I set auto-renewal for all my domains, why set manual if you know in advance you need that domain Up for the foreseeable future ?

                                When the domains is owned by the client, I request a technical access to their registrar and configure auto-renewal and their payment with them so that it's out of the way, if the client insist on doing it on it's own, it's their responsibility to renew and face downtime because of domain expiration.

                                potemkin_aiP 1 Reply Last reply
                                2
                                • rmdesR rmdes

                                  @potemkin_ai Why at cloudron?

                                  my setup :
                                  I get my domain renewal notices from my registrar but for this to work flawlessly,
                                  you can't use a cloudron email to get the alerts, it needs to be an out of cloudron context email (gmail etc..)
                                  in my case it's dedicated to this & billing of domain/vps's, so I know every time there is an email there it's important and need to be taken care of.

                                  When everything is smooth, I usually auto-forward these type of emails to my associates, so I'm not the only one getting it or not and since the mailbox getting them is outside cloudron it's very rare to miss something.

                                  On top of that, at my registrar, I set auto-renewal for all my domains, why set manual if you know in advance you need that domain Up for the foreseeable future ?

                                  When the domains is owned by the client, I request a technical access to their registrar and configure auto-renewal and their payment with them so that it's out of the way, if the client insist on doing it on it's own, it's their responsibility to renew and face downtime because of domain expiration.

                                  potemkin_aiP Offline
                                  potemkin_aiP Offline
                                  potemkin_ai
                                  wrote on last edited by
                                  #36

                                  @rmdes because when app hosted on cloudron stops working, cloudron is the first thing I check.

                                  I don't believe e-mail notifications is good, but a kind of red line at the top of the cloudron if domain is about to expire seems like a good thing to do.

                                  Especially, if domain is handled by a customer (like it should) and cloudron and linux stuff is outsourced.

                                  rmdesR 1 Reply Last reply
                                  1
                                  • potemkin_aiP potemkin_ai

                                    @rmdes because when app hosted on cloudron stops working, cloudron is the first thing I check.

                                    I don't believe e-mail notifications is good, but a kind of red line at the top of the cloudron if domain is about to expire seems like a good thing to do.

                                    Especially, if domain is handled by a customer (like it should) and cloudron and linux stuff is outsourced.

                                    rmdesR Offline
                                    rmdesR Offline
                                    rmdes
                                    wrote on last edited by
                                    #37

                                    @potemkin_ai I understand your point, maybe a temporary fix would be to use something like this https://github.com/nixcraft/domain-check-2 (but you don't want email notif)
                                    I wish I could have something similar but able to send a webhook where I want (N8)

                                    potemkin_aiP 1 Reply Last reply
                                    0
                                    • rmdesR rmdes

                                      @potemkin_ai I understand your point, maybe a temporary fix would be to use something like this https://github.com/nixcraft/domain-check-2 (but you don't want email notif)
                                      I wish I could have something similar but able to send a webhook where I want (N8)

                                      potemkin_aiP Offline
                                      potemkin_aiP Offline
                                      potemkin_ai
                                      wrote on last edited by
                                      #38

                                      @rmdes thank you; my ideal case would be for cloudron to monitor this, giving a fix for malformed whois queries - we even made a simple algorithm for that somewhere at the top of the topic.

                                      webhooks (to n8n / integromat / etc) would be just fantastic, indeed!

                                      rmdesR 1 Reply Last reply
                                      0
                                      • potemkin_aiP potemkin_ai

                                        @rmdes thank you; my ideal case would be for cloudron to monitor this, giving a fix for malformed whois queries - we even made a simple algorithm for that somewhere at the top of the topic.

                                        webhooks (to n8n / integromat / etc) would be just fantastic, indeed!

                                        rmdesR Offline
                                        rmdesR Offline
                                        rmdes
                                        wrote on last edited by
                                        #39

                                        @potemkin_ai in my use case, webhook only would be even better, since I have space tuned in my Matrix server where other alerts end up

                                        might be a cool fork to do on this
                                        https://github.com/nixcraft/domain-check-2 and since it's bash, adding a webhook here would be trivial, maybe a fun exercise for next weekend for me πŸ™‚

                                        potemkin_aiP 1 Reply Last reply
                                        0
                                        • rmdesR rmdes

                                          @potemkin_ai in my use case, webhook only would be even better, since I have space tuned in my Matrix server where other alerts end up

                                          might be a cool fork to do on this
                                          https://github.com/nixcraft/domain-check-2 and since it's bash, adding a webhook here would be trivial, maybe a fun exercise for next weekend for me πŸ™‚

                                          potemkin_aiP Offline
                                          potemkin_aiP Offline
                                          potemkin_ai
                                          wrote on last edited by
                                          #40

                                          @rmdes that's exactly my thought as well - webhooks are really nice, as they let every user to set up things and notifications the way they want and I do use work chat as well (just self-hosted Mattermost), so it would be really convenient.

                                          For the script - I don't like (and don't have now) bare Linux servers running, so script could be Ok, but I would rather use an n8n node for that - easier to configure, update and get notifications from, if that can't be done out of the box on Cloudron - which is always the best thing, as it helps me to keep things on radars without thinking about them.

                                          d19dotcaD 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