Closed Hanif-Faez closed 2 years ago
Thanks for opening your first issue here 🙋🕵️
I see.. yes try all interface
does that settings works for you?
I think it might need to listen to local lan. do you get a bind host error?
I see.. yes try all interface
does that settings works for you?
I already tried listening to all interfaces with 0.0.0.0 but after reloading Adguard home, DNS service not working it spinning continuously. It only work when I followed your instruction with DNS interface wlan0 since my pi is wireless.
I see.. yes try all interface does that settings works for you?
I already tried listening to all interfaces with 0.0.0.0 but after reloading Adguard home, DNS service not working it spinning continuously. It only work when I followed your instruction with DNS interface wlan0 since my pi is wireless.
hmm i never tried with wifi..try making ip static on pi .
@Haniffaez your issue is tailscale not working with AGH using wlan0 right ?.. I wonder if something else is listening on address
@Haniffaez your issue is tailscale not working with AGH using wlan0 right ?.. I wonder if something else is listening on address
Ya tailscale can't use DNS from Adguard if I set to wlan0. It need to listen on all interface just like pihole permit all origin. My pi IP already reserved on router. I follow this step on tailscale website. https://tailscale.com/kb/1114/pi-hole/
did you check to see if anything else on port 53?
sudo netstat -anp | grep 53
checking adguard logs as well can be helpful
Sorry for late reply. Here is the output. What am I looking at, I'm new to this. Do I need to enable verbosity and try again?
what you get for
sudo systemctl status AdGuardHome
&
sudo nano /var/log/AdGuardHome.err
what you get for
sudo systemctl status AdGuardHome
&
sudo nano /var/log/AdGuardHome.err
Here is the output after I stopped Adguard service and went to Adguard.yaml to change the DNS interface to 0.0.0.0
Second output: sudo systemctl status AdGuardHome
DNS service won't starts if it is set to 0.0.0.0 and the whole network is down
Here is the Adguard.yaml
hmmm try setting up firewall rules https://help.ubuntu.com/community/UFW
sudo apt install ufw -y
sudo ufw enable
sudo ufw allow from 0.0.0.0
sudo ufw allow in on wlan0
Sorry I have to reinstall the whole pi after messing up with ufw. After reinstalling and configuring ufw, DNS service still can't start when set to 0.0.0.0 When checking for Adguard status, the service run but it keeps loading just like the screenshot I attached before.
@Haniffaez have you tried with a wired connection to see if it works? then you can know if its a wifi issue or not
when i use all interface i get in bind host 0.0.0.0
did you change that ?
@Haniffaez have you tried with a wired connection to see if it works? then you can know if its a wifi issue or not
Ya wired connection might be the last resort but I need to get ethernet to micro usb adapter and see how it goes.
when i use all interface i get in bind host 0.0.0.0
did you change that ?
Ya it does not work when I put 0.0.0.0 and DNS service seems like not even start up by looking at continuous loading icon on adguard dashboard. All interface only play nice when I use default upstream dns like cloudflare or Google dns without unbound and TLS forwarder.
so that 192.168.1.11 address is for tailscale to work ?
so that 192.168.1.11 address is for tailscale to work ?
I used default upstream dns (cloudflare) before and it work well with tailscale but it need to listen on all interface. When I use unbound and TLS forwarder, set interface to 0.0.0.0 the dns service won't start and it keep loading until I revert back changes to 192.168.1.11
when i use all interface i get in bind host 0.0.0.0 did you change that ?
Ya it does not work when I put 0.0.0.0 and DNS service seems like not even start up by looking at continuous loading icon on adguard dashboard. All interface only play nice when I use default upstream dns like cloudflare or Google dns without unbound and TLS forwarder.
sudo nano /etc/resolv.conf nameserver 127.0.0.1 save and exit sudo systemctl restart systemd-resolved
now you can use bind host 0.0.0.0 for AdGuardHome
sudo systemctl status systemd-resolved ● systemd-resolved.service - Network Name Resolution Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2022-06-14 19:19:15 EEST; 2h 30min ago Docs: man:systemd-resolved.service(8) man:org.freedesktop.resolve1(5) https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients Main PID: 746 (systemd-resolve) Status: "Processing requests..." Tasks: 1 (limit: 4379) Memory: 7.8M CPU: 146ms CGroup: /system.slice/systemd-resolved.service └─746 /lib/systemd/systemd-resolved
Jun 14 19:19:15 homeserversystemd[1]: Starting Network Name Resolution... Jun 14 19:19:15 homeserver systemd-resolved[746]: Positive Trust Anchors: Jun 14 19:19:15 homeserver systemd-resolved[746]: Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.1> Jun 14 19:19:15homeserver systemd-resolved[746]: Using system hostname '-homeserver'. Jun 14 19:19:15 homeserver systemd[1]: Started Network Name Resolution.
I guess mine already set to 127.0.0.1
so that 192.168.1.11 address is for tailscale to work ?
I used default upstream dns (cloudflare) before and it work well with tailscale but it need to listen on all interface. When I use unbound and TLS forwarder, set interface to 0.0.0.0 the dns service won't start and it keep loading until I revert back changes to 192.168.1.11
its a long shot but try adding nameserver 192.168.1.11
in resolv.conf
sudo apt install resolvconf
sudo systemctl start resolvconf.service
sudo systemctl enable resolvconf.service
sudo systemctl status resolvconf.service
sudo nano /etc/resolvconf/resolv.conf.d/head
add nameserver 192.168.1.11
sudo systemctl restart resolvconf.service
sudo systemctl restart systemd-resolved.service
check sudo nano /etc/resolv.conf
restart pi just in case
see if any change with unbound etc🙏
if not you will have to ask on https://github.com/AdguardTeam/AdGuardHome
@Haniffaez or try nameserver 0.0.0.0
if nameserver 192.168.1.11 do not work
so that 192.168.1.11 address is for tailscale to work ?
I used default upstream dns (cloudflare) before and it work well with tailscale but it need to listen on all interface. When I use unbound and TLS forwarder, set interface to 0.0.0.0 the dns service won't start and it keep loading until I revert back changes to 192.168.1.11
its a long shot but try adding
nameserver 192.168.1.11
in resolv.confsudo apt install resolvconf
sudo systemctl start resolvconf.service sudo systemctl enable resolvconf.service sudo systemctl status resolvconf.service
sudo nano /etc/resolvconf/resolv.conf.d/head
add
nameserver 192.168.1.11
sudo systemctl restart resolvconf.service sudo systemctl restart systemd-resolved.service
check
sudo nano /etc/resolv.conf
restart pi just in case
see if any change with unbound etc🙏
if not you will have to ask on https://github.com/AdguardTeam/AdGuardHome
I have tried all the steps but it still not working after adding nameserver and editing Adguard.yaml to listen on 0.0.0.0 Got the same error DNS server is starting up and it keeps loading.
Never mind, I just use this without tailscale or went back to default upstream DNS if I need.
Wait can I close this? Sorry, this is my first post. I guess need to refer Adguardhome.
@Haniffaez if you found solution from AGH community.. can you please mention solution here and then you can close .. thanks
Operating System
Raspberry Pi
Architecture
64-bit
Platform
Linux
Project
Aduard Home
Browser
Chrome
Issue
Not working
Issue Description
Hi.
Currently I'm using pi zero 2w. Is it possible to let Adguard listen on all interface since tailscale not working when listening to only wlan0. Just like pihole permit all origin? I already tried editing adguard.yaml and set dns interface to 0.0.0.0 and dns service won't start.