Replies: 4 comments 3 replies
-
Thanks for asking. You just need to create a Conditional Forwarder zone with "This Server" as the forwarder. In the zone just create the records for subdomain names you want or if all of them resolve to a single local IP then use a wildcard subdomain record. This setup will resolve the records you have added in the zone. Do not use web browsers to test it. Test the setup using DNS Client tool on the admin panel. Once you confirm the domains resolve to correct IP then test it with your web browser. If your web browser still resolves to public IP then it probably has DoH enabled and is not using your local resolver so you will need to check the browser options and disable DoH. |
Beta Was this translation helpful? Give feedback.
-
can DOH be run through a proxy if I give it an internal only domain name |
Beta Was this translation helpful? Give feedback.
-
I know that this can run alongside systemd-resolved when you set it up right on the host network, but is it possible to set it up to run on a docker bridged network? it seems that opening port 53 fails because it's in use by systemd-resolved, but what if I close all ports, enable dns-over-http, and have nginx proxy manager forward requests to one of the server's assigned ip addresses directly to dns-server? most devices and browsers seem to default to DoH, which also happens to be the only devices that would need to access the dns server this way. |
Beta Was this translation helpful? Give feedback.
-
Considering that the app that this is most important to already supports switching to an ip address when on the local network, and the homepage to my server lets me set a different url for apps which can be an ip address, it might be simpler to just install avahi and set up a proxy domain to a mdns .local address. |
Beta Was this translation helpful? Give feedback.
-
Right now I have a server running several docker apps, that are proxied through ngnx. I purchased a domain name and have the apps available at different subdomains of that domain, but they resolve to my WAN ip address so that all access is routed through my modem. I wanted to set up a local dns server that would forward regular requests to global dns servers, but redirect my domain name to the 192.168.xxx.xxx ip address when devices are on the local network (but lettign them still resolve to the WAN ip when they are outside the network.
I thought I just had to set up forwarders and a zone, but the zone only works for the main domain, and all subdomains refuse to connect. adding a * entry worked for a little while but eventually keeps breaking. I can't seem to find any documentation for setting the dns server up like this, as all instructions seem to set up that my dns server is accessible on the global internet, something I do not want.
Beta Was this translation helpful? Give feedback.
All reactions