November 22, 20232 yr I have my unraid server behind a Asus router. The router DNS settings point to adguard running on my unraid server. There is an issue on the initial boot of the unraid server where the server has no DNS because adguard hasnt started. It seems to get stuck here maybe trying to check the license key? Not sure why it gets stuck but I assume its because it has no valid DNS and something is dependent on a valid DNS being available. If I enable DNS2 on the router to point to some valid DNS outside my network things boot fine. However I'd like unraid to use a bootstrap DNS initially and then switch over to the DNS it was assigned by the router, which points to a docker container running adguard. Possible? Edited November 22, 20232 yr by xokia
November 22, 20232 yr Community Expert Solution no. What you see is the typical "chicken & egg" problem, that so many dockers have. If PiHole or Adguard, they are always started last on UNRAID, so they are not available at boot time. What you can do is to give UNRAID a static address and use google (8.8.8.8) or one (1.1.1.1) as a static dns server. All other machines can use your adguard, but UNRAID itself not. The other thing you could yourself get a real pi, put pihole or adguard on it and let it run inside your lan. This way even UNRAID can use it.
November 23, 20232 yr Author Yea that's what I assumed so what I have currently works. I uses DNS1 on the router to point to my adguards DNS inside docker. I have DNS2 (failover) pointing to a DNS provider outside my network. So when the system boots unraid gets DNS2 and is allowed to boot. once booted Unraid gets DNS1 which is the adguard DNS in the docker container.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.