Comments (4)
I have the same issue.
There seems to be no way to manually configure an IP address for DNS.
The configuration I have is:
- Docker PiHole connected to MacVLan.
- DHCP Server broadcasts PiHole MacVLan IP for DNS for all clients on the network.
- The Nginx Proxy manager in docker tries to use, but CANNOT see the IP address of the PiHole (MacVLan network is not accessible to other docker containers - by design)
- I have no way to tell NPM to use an alternate DNS IP.
Even if we have to edit a config file, it would be better than nothing.
An option in the GUI would also be great though!?
from nginx-proxy-manager.
@doublehelix why not just use the dns option in docker compose? You just add e.g dns: 192.168.1.5
on the same level as container_name, image, etc
from nginx-proxy-manager.
@doublehelix why not just use the dns option in docker compose? You just add e.g
dns: 192.168.1.5
on the same level as container_name, image, etc
Unfortunately that doesn't work due to network isolation within docker containers and networks.
The only solution I've found so far is to network pihole on a macVLan and create a shared bridge that is used by all containers that need to use the DNS services in the pihole container (including nginx).
This has the unfortunate side effect that all docker containers are now networked together. Not ideal, and the opposite of the intention of isolation by default.
The other solution of course is to not host DNS in docker. (Which is the route I ended up taking in the meantime)
from nginx-proxy-manager.
all docker containers are now networked together.
You can setup firewall rules on that network to:
- accept anything to/from the pihole specific IP and ports you need
- drop everything else
That way they will not really be networked together, as the connection would be immediately dropped.
from nginx-proxy-manager.
Related Issues (20)
- [SECURITY] Possible Security Vuln HOT 3
- NPM template, or at mimimum copy a configuration
- Make "NPM automatically create custom DNS with pihole" an option.
- Internal error (to do with NodeJS?) when trying to make an SSL certificate HOT 3
- Can't create or renew certs because of SSLError(SSLError(1, '[SSL: TLSV1_UNRECOGNIZED_NAME] tlsv1 unrecognized name (_ssl.c:992)')). HOT 1
- Internal Error: josepy.errors.DeserializationError: Deserialization error: Expecting value: line 1 column 1 (char 0) HOT 1
- Response Header from /subfolder are wrong or missing HOT 1
- How to specify Custom locations correctly HOT 6
- Statistics on the dashboard HOT 1
- NginxProxyManager Cors
- How do you configure redirects just on the local IP address? HOT 2
- Strato DNS change not working HOT 1
- Toggling "HSTS Enabled" leads to "Unknown hsts_header variable" error with proxy offline
- Ability to edit Let's Encrypt certificate DNS challenge options HOT 3
- How to change ssl receiving host?
- Error creating wilcard ssl certificate with cloudflare HOT 2
- A new /data/compose/3/v<x> directory is created with a vanilla database.sqlite whenever i pull new releases HOT 4
- 'force HTTPS' switch not recognized when creating new (proxy) host HOT 1
- ACLs does not work when using rootless HOT 1
- Cache purge for specific proxy host
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-proxy-manager.