-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed as not planned
Description
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image?- Yes
- Are you sure you're not using someone else's docker image?
- Yes
- Have you searched for similar issues (both open and closed)?
- Yes
Describe the bug
I have 2 entries in my dns server:
sub1.domain.com -> CNAME sub2.domain.com
sub2.domain.com -> A record 192.168.0.2
I can get IP's of both from the shell of NPM container:
$ getent hosts sub2.domain.com
192.168.0.2 sub2.domain.com
$ getent hosts sub1.domain.com
192.168.0.2 sub2.domain.com sub1.domain.comI'm configuring Proxy Host.
When I will configure destination to point to sub2.domain.com, everything works.
But when I'm using sub1.domain.com I see following error in the error_log:
sub1.domain.com could not be resolved (3: Host not found)
Nginx Proxy Manager Version
v2.9.18
To Reproduce
Steps to reproduce the behavior:
- Configure the destination
- Visit site in broswer, get 502
- Check the error_log and see
Host not found
Expected behavior
Site should work
Operating System
Synology docker
- NPM container with macvlan
- A record points to synology macvlan shim interface
Additional context
DNS is handled with Adguard DNS rewrites