Comments (2)
I'm not sure if your interpretation is correct. I did a quick test on RPI4B and AGH is working ootb without any configuration changes needed.
Basically, our configuration has not been changed for 3 years and AGH should listen to all network interfaces as we bind to 0.0.0.0
by default
DietPi/.conf/dps_126/AdGuardHome.yaml
Lines 14 to 17 in 2b5b0e7
Basically my test netstat
is showing same result as yours
root@DietPi4:~# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 446/dropbear
tcp6 0 0 :::8083 :::* LISTEN 2230/AdGuardHome
tcp6 0 0 :::53 :::* LISTEN 2230/AdGuardHome
tcp6 0 0 :::22 :::* LISTEN 446/dropbear
udp 0 0 0.0.0.0:68 0.0.0.0:* 350/dhclient
udp6 0 0 :::53 :::* 2230/AdGuardHome
root@DietPi4:~#
But dig
is able to resolve a DNS request without issue
root@DietPi4:~# dig @127.0.0.1 -p 53 dietpi.com
; <<>> DiG 9.18.24-1-Debian <<>> @127.0.0.1 -p 53 dietpi.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54122
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;dietpi.com. IN A
;; ANSWER SECTION:
dietpi.com. 300 IN A 188.114.97.3
dietpi.com. 300 IN A 188.114.96.3
;; Query time: 80 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Sun Jun 16 12:12:09 CEST 2024
;; MSG SIZE rcvd: 71
root@DietPi4:~#
As well, no issues using the pre-defined upstream DNS
from dietpi.
Note that net-tools
are deprecated. Use the ss
(and ip
) command from the iproute2
package to get accurate results:
root@VM-Bookworm:~# netstat -tlpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 426/dropbear
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1955/mariadbd
tcp6 0 0 :::3000 :::* LISTEN 2104/forgejo
tcp6 0 0 :::8083 :::* LISTEN 2131/AdGuardHome
tcp6 0 0 :::80 :::* LISTEN 2027/apache2
tcp6 0 0 :::53 :::* LISTEN 2131/AdGuardHome
tcp6 0 0 :::22 :::* LISTEN 426/dropbear
tcp6 0 0 :::5252 :::* LISTEN 423/dietpi-dashboar
root@VM-Bookworm:~# ss -tlpn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
LISTEN 0 1000 0.0.0.0:22 0.0.0.0:* users:(("dropbear",pid=426,fd=3))
LISTEN 0 80 127.0.0.1:3306 0.0.0.0:* users:(("mariadbd",pid=1955,fd=18))
LISTEN 0 4096 *:3000 *:* users:(("forgejo",pid=2104,fd=13))
LISTEN 0 4096 *:8083 *:* users:(("AdGuardHome",pid=2131,fd=9))
LISTEN 0 511 *:80 *:* users:(("apache2",pid=2028,fd=4),("apache2",pid=2027,fd=4))
LISTEN 0 4096 *:53 *:* users:(("AdGuardHome",pid=2131,fd=12))
LISTEN 0 1000 [::]:22 [::]:* users:(("dropbear",pid=426,fd=4))
LISTEN 0 1024 *:5252 *:* users:(("dietpi-dashboar",pid=423,fd=9))
Not sure why netstat
is listing them with tcp6
protocol, but most of those entries with :::xyz
listen on both, IPv4 and IPv6, same as the *:xyz
entries in ss
. ss
shows IPv6-only listeners with [::]:xyz
instead.
from dietpi.
Related Issues (20)
- installing coolify HOT 8
- Cant install Netdata HOT 13
- Curl error on DietPi update from v8.16.2 to v9.5.1 HOT 2
- Unpackerr - Unpack .rar archives automatically for importing via *arr services HOT 1
- Open Beta v9.6 | Please help testing and hardening our upcoming release HOT 2
- ODROID N2+ can't find USB DAC with latest packages HOT 17
- Will more version be supported for nextcloud ? HOT 4
- Update cannot be finished HOT 1
- Bazarr not working (probably after 9.5.1 upgrade) HOT 7
- 37668978
- Dietpi-banner displays garbled RAM usage HOT 2
- Iteration v9.7 (2024-08-03)
- USB WiFi (TP-Link Archer T2U PLUS) adapter not working on Odroid N2+ since recent kernel upgrade HOT 7
- Dietpi-update fails to complete due to apt-key cannot create /dev/null HOT 8
- Radxa Zero 3W - Format eMMC fails Report 62215187-eddb-4247-9feb-69f6d693802e HOT 2
- Koel not working anymore after updating to version 7.0.2 HOT 8
- Error while updating diet Pi version from 9.4.2 to 9.6.1 HOT 10
- unable to update dietpi to latest version HOT 51
- mariaDB crashing HOT 10
- Multiple shells installed by default? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.