Plopsadude Posted August 28, 2020 Share Posted August 28, 2020 (edited) Hi all, I've ran pi hole in docker for a while, which worked great. Now a couple of weeks ago, it stopped working after a restart and I don't know what happened. It comes down to Unraid server is running dnsmasq and keeps UDP 67 busy. I didn't upgrade so it must be settings of VM related I guess. Stopped all docker apps but that didn't help. "listen udp 0.0.0.0:67: bind: address already in use." Unraid version: 6.8.3 netstat -nlp | grep "0.0.0.0:67" udp 0 0 0.0.0.0:67 0.0.0.0:* 4326/dnsmasq lsof -p 4326 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME dnsmasq 4326 nobody cwd DIR 0,2 420 2 / dnsmasq 4326 nobody rtd DIR 0,2 420 2 / dnsmasq 4326 nobody txt REG 0,2 332920 6696 /usr/sbin/dnsmasq dnsmasq 4326 nobody mem REG 0,2 48704 5701 /lib64/libcrypt-2.30.so dnsmasq 4326 nobody mem REG 0,2 18512 5703 /lib64/libdl-2.30.so dnsmasq 4326 nobody mem REG 0,2 14192 8894 /usr/lib64/libreplace-samba4.so dnsmasq 4326 nobody mem REG 0,2 18304 8939 /usr/lib64/libwinbind-client-samba4.so dnsmasq 4326 nobody mem REG 0,2 18288 8884 /usr/lib64/libnss_winbind.so.2 dnsmasq 4326 nobody mem REG 0,2 64232 5718 /lib64/libnss_files-2.30.so dnsmasq 4326 nobody mem REG 0,2 1577040 8326 /usr/lib64/libunistring.so.2.1.0 dnsmasq 4326 nobody mem REG 0,2 2207064 5699 /lib64/libc-2.30.so dnsmasq 4326 nobody mem REG 0,2 121112 7970 /usr/lib64/libidn2.so.0.3.6 dnsmasq 4326 nobody mem REG 0,2 191376 5693 /lib64/ld-2.30.so dnsmasq 4326 nobody 0u CHR 1,3 0t0 1029 /dev/null dnsmasq 4326 nobody 1u CHR 1,3 0t0 1029 /dev/null dnsmasq 4326 nobody 2u CHR 1,3 0t0 1029 /dev/null dnsmasq 4326 nobody 3u IPv4 26174 0t0 UDP *:bootps dnsmasq 4326 nobody 4u netlink 0t0 26175 ROUTE dnsmasq 4326 nobody 5u IPv4 26177 0t0 UDP Tower.local:domain dnsmasq 4326 nobody 6u IPv4 26178 0t0 TCP Tower.local:domain (LISTEN) dnsmasq 4326 nobody 7r a_inode 0,10 0 3083 inotify dnsmasq 4326 nobody 8u unix 0x00000000434403c5 0t0 26183 type=STREAM dnsmasq 4326 nobody 9r FIFO 0,9 0t0 26184 pipe dnsmasq 4326 nobody 10w FIFO 0,9 0t0 26184 pipe dnsmasq 4326 nobody 11u unix 0x00000000f8437387 0t0 21771 type=DGRAM dnsmasq 4326 nobody 14w FIFO 0,9 0t0 21772 pipe For sure this isn't a Pi Hole issue, but I can't find what is kicking DSNMASQ of..... When I kill it, pi hole will start......... Any help would be appreciated. Edited August 28, 2020 by Plopsadude Quote Link to comment
Squid Posted August 28, 2020 Share Posted August 28, 2020 That suggests that piHole is running in Bridge mode. Ideally, it should be running on it's own IP address Quote Link to comment
Timm Posted May 3, 2021 Share Posted May 3, 2021 I'm facing the same issue on UnRaid 6.9.2. For what is UnRaid using dnsmasq? Quote Link to comment
Justin F. Posted October 22, 2021 Share Posted October 22, 2021 I'm seeing the same issue. @Timm, libvirt is using it for one of its bridges. Quote Link to comment
Timm Posted October 22, 2021 Share Posted October 22, 2021 5 hours ago, Justin F. said: I'm seeing the same issue. @Timm, libvirt is using it for one of its bridges. Thanks for the info. Since my last post, I used pinhole with its own ip, so I didn't had any problems with it. 1 Quote Link to comment
arturovf Posted February 17, 2022 Share Posted February 17, 2022 (edited) I too have this problem. When using pihole/adguard with his own IP, homebridge can't communicate with that IP for some reason. (EHOSTUNREACH error). Would be great to know in detail what dnsmasq is used for to know what functionality do we lose if disabled? Or If anybody have a clue why I cannot reach PiHole/adguard ip from inside docker (homebridge)? Edited February 17, 2022 by arturovf Quote Link to comment
standin000 Posted May 1, 2023 Share Posted May 1, 2023 (edited) On 2/18/2022 at 4:18 AM, arturovf said: I too have this problem. When using pihole/adguard with his own IP, homebridge can't communicate with that IP for some reason. (EHOSTUNREACH error). Would be great to know in detail what dnsmasq is used for to know what functionality do we lose if disabled? Or If anybody have a clue why I cannot reach PiHole/adguard ip from inside docker (homebridge)? you can use docker's macvlan bridge network card custom:br0, so your server will got a IP from router like unraid. Edited May 1, 2023 by standin000 Quote Link to comment
arturovf Posted May 4, 2023 Share Posted May 4, 2023 On 5/1/2023 at 7:07 AM, standin000 said: you can use docker's macvlan bridge network card custom:br0, so your server will got a IP from router like unraid. yeah I have set it up that way, that's not the issue, turns out it was an unraid bug, which could be resolved from a simple script to launch every array start Quote Link to comment
Recommended Posts
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.