[GH-ISSUE #91] dns_get_record(): A temporary server error occurred. #37

Open
opened 2026-02-27 09:12:41 +03:00 by kerem · 5 comments
Owner

Originally created by @Umplo on GitHub (Mar 3, 2024).
Original GitHub issue: https://github.com/maelstrom-cms/odin/issues/91

Hi there,

I've installed Odin on an Ubuntu 20.04 system, and configured Apache2 with a self-signed SSL certificate. Laravel is configured with composer and npm, and PHP 7.4 is connected to the latest releases of MySQL and Redis databases, both of which deployed via docker on the same host separately, and connected as per the odin .env. Everything is working so far except for DNS monitoring, which is a total shame. Currently, I'm running into the following error in my laravel logs:

[2024-03-02 16:45:39] local.ERROR: dns_get_record(): A temporary server error occurred.

And consequently, monitoring "DNS Records" is not working at all.

image

What is working?

  • , Edit. Registration and Login of accounts.
  • Monitoring: Open Graph, Uptime Monitoring,SSL Reports, Robots.txt, and perhaps scheduled task events as well, though I haven't tested this last one.
  • Adding and deleting websites.
Originally created by @Umplo on GitHub (Mar 3, 2024). Original GitHub issue: https://github.com/maelstrom-cms/odin/issues/91 Hi there, I've installed Odin on an Ubuntu 20.04 system, and configured Apache2 with a self-signed SSL certificate. Laravel is configured with composer and npm, and PHP 7.4 is connected to the latest releases of MySQL and Redis databases, both of which deployed via docker on the same host separately, and connected as per the odin .env. Everything is working so far except for DNS monitoring, which is a total shame. Currently, I'm running into the following error in my laravel logs: [2024-03-02 16:45:39] local.ERROR: dns_get_record(): A temporary server error occurred. And consequently, monitoring "DNS Records" is not working at all. ![image](https://github.com/maelstrom-cms/odin/assets/22750698/cb651018-6575-4664-8b08-7a08265d0a5a) **What is working?** - , Edit. Registration and Login of accounts. - Monitoring: Open Graph, Uptime Monitoring,SSL Reports, Robots.txt, and perhaps scheduled task events as well, though I haven't tested this last one. - Adding and deleting websites.
Author
Owner
<!-- gh-comment-id:1975097226 --> @OwenMelbz commented on GitHub (Mar 3, 2024): Hi, Sorry I don't think I'm going to be much good here, a guess would be that whatever PHP calls under the hood for fetching dns records is failing because of a system/networking issue. You can see here https://www.google.com/search?q=dns_get_record%28%29%3A+a+temporary+server+error+occurred.&sca_esv=781689f199775288&rlz=1CDGOYI_enGB590GB590&hl=en-GB&sxsrf=ACQVn0-90VtTqfwmnlZVJEevXm1l4hVOUQ%3A1709457120302&ei=4D7kZe2HEoPJhbIPoZ28iAs&oq=dns_get_record+php&gs_lp=EhNtb2JpbGUtZ3dzLXdpei1zZXJwIhJkbnNfZ2V0X3JlY29yZCBwaHAqAggAMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADMgoQABhHGNYEGLADSPkKUABYAHABeAGQAQCYAQCgAQCqAQC4AQHIAQCYAgGgAguYAwCIBgGQBgiSBwEx&sclient=mobile-gws-wiz-serp that Google is filled with people with this issue so there might be a solution how to fix it
Author
Owner

@Umplo commented on GitHub (Mar 3, 2024):

Hi @OwenMelbz,

I'm not convinced it's simply a DNS or network misconfiguration.

As things stand, DNS resolution works fine on the ubuntu host, and Odin is perfectly capable of monitoring sites online, such as https://www.microsoft.com, and https://www.cnn.com, as seen below.

image

I'm aware there's a PHP bug that leads to the aforementioned error, and I'm wondering if it could be related;
https://bugs.php.net/bug.php?id=73149

<!-- gh-comment-id:1975106351 --> @Umplo commented on GitHub (Mar 3, 2024): Hi @OwenMelbz, I'm not convinced it's simply a DNS or network misconfiguration. As things stand, DNS resolution works fine on the ubuntu host, and Odin is perfectly capable of monitoring sites online, such as https://www.microsoft.com, and https://www.cnn.com, as seen below. ![image](https://github.com/maelstrom-cms/odin/assets/22750698/06bda468-3f33-4146-a518-58609a5f57f8) I'm aware there's a PHP bug that leads to the aforementioned error, and I'm wondering if it could be related; https://bugs.php.net/bug.php?id=73149
Author
Owner

@OwenMelbz commented on GitHub (Mar 3, 2024):

Are you able to run it on a newer version of php?

<!-- gh-comment-id:1975207414 --> @OwenMelbz commented on GitHub (Mar 3, 2024): Are you able to run it on a newer version of php?
Author
Owner

@Umplo commented on GitHub (Mar 3, 2024):

@OwenMelbz Which version do you recommend for Odin?

<!-- gh-comment-id:1975388199 --> @Umplo commented on GitHub (Mar 3, 2024): @OwenMelbz Which version do you recommend for Odin?
Author
Owner

@OwenMelbz commented on GitHub (Mar 4, 2024):

Theoretically it shouldn't matter, but if you're experiencing a bug in the version you're running then anything newer to try and see if that's the case, so could just try something like 8.2 and see what happens

<!-- gh-comment-id:1975899876 --> @OwenMelbz commented on GitHub (Mar 4, 2024): Theoretically it shouldn't matter, but if you're experiencing a bug in the version you're running then anything newer to try and see if that's the case, so could just try something like 8.2 and see what happens
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/odin-maelstrom-cms#37
No description provided.