Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unbound: service is not listening on localhost 127.0.0.1 #26121

Open
cmonty14 opened this issue Mar 11, 2025 · 0 comments
Open

unbound: service is not listening on localhost 127.0.0.1 #26121

cmonty14 opened this issue Mar 11, 2025 · 0 comments

Comments

@cmonty14
Copy link

Hi,
I have configured Unbound + odhcpd, and now I want to enhance the setup with AdGuard Home as my primary DNS server.
In this setup Unbound should work as recursive DNS server, means all DNS requests from a client are sent to AdGuard Home, and if the requested domain is not filtered out, it will be send to Unbound.
For this setup I would configure Unbound to listen on 127.0.0.1:5335 and configure in AdGuard Home >Upstream-DNS-Server with this value: 127.0.0.1:5335.

However, using Unbound configured by UCI I get different interfaces:

root@router:~# netstat -tulpn | grep 53
tcp        0      0 172.16.10.2:53          0.0.0.0:*               LISTEN      3268/AdGuardHome
tcp        0      0 127.0.0.1:8953          0.0.0.0:*               LISTEN      6776/unbound
tcp        0      0 0.0.0.0:5335            0.0.0.0:*               LISTEN      6776/unbound
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      3268/AdGuardHome
tcp        0      0 172.16.1.2:53           0.0.0.0:*               LISTEN      3268/AdGuardHome
tcp        0      0 ::1:53                  :::*                    LISTEN      3268/AdGuardHome
tcp        0      0 ::1:8953                :::*                    LISTEN      6776/unbound
tcp        0      0 :::5335                 :::*                    LISTEN      6776/unbound
udp        0      0 172.16.10.2:53          0.0.0.0:*                           3268/AdGuardHome
udp        0      0 172.16.1.2:53           0.0.0.0:*                           3268/AdGuardHome
udp        0      0 127.0.0.1:53            0.0.0.0:*                           3268/AdGuardHome
udp        0      0 0.0.0.0:5335            0.0.0.0:*                           6776/unbound
udp        0      0 ::1:53                  :::*                                3268/AdGuardHome
udp        0      0 :::5335                 :::*                                6776/unbound

Can you please advise how to fix this?
THX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant