I want to open the app “qdirstat” via http(s)://qdirstat.fritz.box by exposing local.
Setup is:
fritz.box (router, 192.168.4.1) with dns & dhcp service active.
server (thinkcentre, 192.168.4.11) with runtipi.
qdirstat installed from “migrated”.
local domain in runtipi set to “fritz.box”.
This works: open application via 192.168.4.11:7125
This fails: open application via http(s)://qdirstat.fritz.box
We will need more precision on how it fails to access “http(s)://qdirstat.fritz.box”.
What is the displayed message on your web browser ?
Is it only happening with qdirstat ?
I tried on my side and was able to access qdirstat through local domain without issue.
The best I can do right now is to enounce how to make this work.
To access your app through local domain :
Configure your local domain in Settings (then restart Runtipi)
You will also need to configure your DNS to redirect all subdomains *.fritz.box or at least qdirstat.fritz.box to your runtipi instance.
This configuration will depend on your DNS server. I believe this is where you should be lookin for.
If you have more details to share, I will try to add more precision.
thanks for your hints. So I have more information to share.
Currently, I am using the standard setup from my router. This means:
192.168.4.1 is my FritzBox router
The router is configured to do DNS and DHCP
Regarding DNS looking up this means:
fritz.box → 192.168.4.1 (router)
thinkcentre.fritz.box → 192.168.4.11 (runtipi)
tipi → “server can’t find tipi: NXDOMAIN”
So for me it looks like I cannot use the local domain logic, because I have not option to change the DNS setting in the FritzBox to point to runtipi instead of the router.
At the moment I only see the option to disable DNS/DHCP on the router and use another server to provide DNS & DHCP. (may be with pihole or adguard?)
Yes, having your own DNS server is the best solution.
PiHole and AdGuard are both viable choice.
Personally I use Adguard with a DNS rewrite to *.tipi.lan.
I prefer keeping the default DHCP service on my router.*
I also recommend using another domain than fritz.box to not mess with your router.
Something like tipi.lan suits better but you can use whatever pleases you as long as you are managing your DNS.
* NB : managing your own DHCP is not mandatory because you can still edit the DNS settings separately on your devices. You will have a better control over it but if your Adguard or PiHole encounter a problem it will cause more troubles.
Anyway, it’s a matter of choice, I suggest trying different things and decide what suits you better.
The explanation and the solution are in the previous messages.
I will try to reformulate. (jump to citation for quick answer)
When you request for fedora.fritz.box, it’s up to your DNS server (your Fritzbox router) to answer which IP to reach.
In your local network, devices registers themselves through DHCP which create a DNS entry for each of them.
Why fedora is found but not qdirstat ?
The container of your app qdirstat is not in your local network, it belongs to a docker network inside your runtipi host.
Your router is not aware of your app existence and won’t create a DNS entry for it.
Hello,
I am trying to expose my apps on a local domain. I know I have the DNS setting correct, as I have a similar setup using caddy on a different server. In my case I use a pihole for DNS and DHCP and etc_dnsmasq_d for the wildcard record. So *.tipi.lan is pointing to my runtipi IP.
My problem is I installed my runtipi instance about 2 years ago, mostly with default settings, I have upgraded over time , currently on v4.4.0.
On my initial install local domain was set to tipi.local, the issue I am having is that I cannot change the “Local Domain” under settings from the UI (entry is greyed out), if I try modifying it in settings.json, value is overwritten when I restart runtipi.
Hello Lancelot,
coming back with the same (?) problem.
What I have done:
set up Runtipi with nextcloud, home bridge, portainer etc.
set up Adguard container outside with macvlan
Problem I run into: nextcloud (on host) cannot use adguard as an DNS server.
What I understood: I have to add route/bridge/… to allow the host to query adguard (as DNS server).
My question: is there any setup using within runtipi using adguard as DNS for the other containers while using adguard as an ad blocker for my other clients in my home network?
Hello,
new day, new knowledge.
The solution is so near and easy, that I have not recognized.
I installed Adguard with 0.0.0.0 (listening on all interfaces) leading to an error, that port 53 ist already in use (from the host os). Just entered the ip address of the server hosting runtipi solved this problem. Easy way: my adblocker/dns server is reachable via the same ip. Perfect.
Maybe it would be helpful, that the maintainer of Adguard adds a hint on the description?
Thanks, Tom