mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Specify DNS servers to be used for uptime kuma in Settings #2249
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#2249
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @redtripleAAA on GitHub (Jun 11, 2023).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ 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:

✔️ 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
@solracsf commented on GitHub (Jun 22, 2023):
What about:
docker run -d --dns="1.1.1.1" {OTHER OPTIONS} louislam/uptime-kuma:1Could this work?
@redtripleAAA commented on GitHub (Jun 22, 2023):
@solracsf is that an actual existing parameter that I can use?!
If yes! Then that answers my question!!
@solracsf commented on GitHub (Jun 23, 2023):
https://docs.docker.com/network/#dns-services
@CommanderStorm commented on GitHub (Dec 5, 2023):
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
@maxjoehnk commented on GitHub (Dec 8, 2023):
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 commented on GitHub (Dec 8, 2023):
See these issues
push-monitor