Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Honor docker network aliases #657

Closed
EnorMOZ opened this issue Jul 24, 2019 · 2 comments
Closed

Honor docker network aliases #657

EnorMOZ opened this issue Jul 24, 2019 · 2 comments

Comments

@EnorMOZ
Copy link

EnorMOZ commented Jul 24, 2019

When using in a docker infrastructure sub-zero will not allow you to use the docker network aliases of radarr/sonarr. It seems like the url field wants to do a DNS lookup each time. When using the alias it wont resolve. This helps with dynamic container ips to resolve to the correct container each time. Also helpful when running containers on localhost.

File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/subliminal_patch/http.py", line 351, in patched_create_connection ip = custom_resolver.query(host)[0].address File "/config/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle/Contents/Libraries/Shared/dns/resolver.py", line 1051, in query raise NXDOMAIN(qnames=qnames_to_try, responses=nxdomain_responses) NXDOMAIN: The DNS query name does not exist: radarr

@pannal
Copy link
Owner

pannal commented Jul 27, 2019

This will be fixed with the upcoming release; in the meantime: Just set the SZ DNS to "system", that should solve the issue.

@EnorMOZ
Copy link
Author

EnorMOZ commented Jul 27, 2019

Changing it to "system" worked

@pannal pannal closed this as completed in efdf3b2 Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants