Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify DNS servers to be used for uptime kuma in Settings #3243

Closed
1 task done
redtripleAAA opened this issue Jun 11, 2023 · 6 comments
Closed
1 task done

Specify DNS servers to be used for uptime kuma in Settings #3243

redtripleAAA opened this issue Jun 11, 2023 · 6 comments
Labels
area:settings Related to Settings page and application configration feature-request Request for new features to be added

Comments

@redtripleAAA
Copy link

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

UI Feature

🔖 Feature description

Feature Request - Specify DNS servers to be used for uptime kuma in Settings

This is important in case we have two A records, and I wish to focus on specific DNS record that can be resolved when pointing to a DNS server.

btw, it works just fine when select DNS host monitor.

here:
Screenshot 2023-06-11 at 5 52 40 AM

✔️ Solution

To add settings page in the UI or even docker run parameters to specify DNS servers will be used for resolving DNS requests from uptime kuma.

/etc/hosts

/etc/resolv.conf

❓ Alternatives

Currently, you have to have some DNS input on the docker host or global DNS to get that working, still will be conflicting if there is more than A record.

📝 Additional Context

No response

@redtripleAAA redtripleAAA added the feature-request Request for new features to be added label Jun 11, 2023
@solracsf
Copy link

What about:

docker run -d --dns="1.1.1.1" {OTHER OPTIONS} louislam/uptime-kuma:1

Could this work?

@redtripleAAA
Copy link
Author

@solracsf is that an actual existing parameter that I can use?!
If yes! Then that answers my question!!

@solracsf
Copy link

https://docs.docker.com/network/#dns-services

@CommanderStorm
Copy link
Collaborator

If yes! Then that answers my question

I am going to close this issue as resolved.
Utilising the platform-provided (node/docker) mechanisms for configuring dns resolution is likely a better choice than implementing this into our current stack

@CommanderStorm CommanderStorm added the area:settings Related to Settings page and application configration label Dec 5, 2023
@CommanderStorm CommanderStorm changed the title Feature Request - Specify DNS servers to be used for uptime kuma in Settings Specify DNS servers to be used for uptime kuma in Settings Dec 5, 2023
@maxjoehnk
Copy link

This might be better suited for a new issue but I have a use case which cannot be solved with the dns docker setting.
I have a Status page for multiple customers with applications only available via their respective vpn.
I can connect the host to multiple vpns but as configuring multiple dns hosts doesn't try all of them I can't use dns entries of any but the first customers.
Obviously I could setup a custom dns server which delegates the relevant domains to their regarding dns servers but I would prefer a simpler solution.

My ideal solution would be the ability to configure remote agents which report back to my primary instance but as I understood this might be more complicated than allowing configuration of the dns server per health check.

@CommanderStorm
Copy link
Collaborator

remote agents which report back

See these issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:settings Related to Settings page and application configration feature-request Request for new features to be added
Projects
None yet
Development

No branches or pull requests

4 participants