mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #1133] Internal DNS resolution not working #932
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#932
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 @Knocks83 on GitHub (May 28, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1133
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
The internal DNS resolution does not work, so it cannot create/renew certificates
Nginx Proxy Manager Version
2.8.1 (even if now it doesn't even start anymore)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should resolve the hostname
Screenshots
The result of ping google.com:

Operating System
Ubuntu 20.04
Additional context
I have a pihole on the same machine as npm. The host naturally can ping Google without any problem.
The error it throws that doesn't allow npm to start:
And finally this is my
docker-compose.ymlfile:What did I try?
I tried to set the dns value in the docker-compose file to my DNS server, there was no difference.
@Knocks83 commented on GitHub (May 28, 2021):
Update: I cannot log in the webinterface (it says "bad gateway") but it does work (it's properly redirecting my domains).
@Knocks83 commented on GitHub (May 28, 2021):
I fixed it by adding the dns value in the docker-compose file, but instead of using pihole I specified the Google DNS