graylion
Dabbler
- Joined
- Dec 28, 2019
- Messages
- 32
i5-13500
128 GiB of RAM
3*6 TB WD Red
TrueNAS-SCALE-23.10.1.3
I have installed pihole from truecharts, but it cannot access port 53
[2024-02-14 16:42:33.137 126199M] Using log file /var/log/pihole/FTL.log
[2024-02-14 16:42:33.137 126199M] ########## FTL started on zzzzz! ##########
[2024-02-14 16:42:33.137 126199M] FTL branch: master
[2024-02-14 16:42:33.137 126199M] FTL version: v5.23
[2024-02-14 16:42:33.137 126199M] FTL commit: d201776e
[2024-02-14 16:42:33.137 126199M] FTL date: 2023-05-28 11:55:26 +0100
[2024-02-14 16:42:33.138 126199M] FTL user: pihole
[2024-02-14 16:42:33.138 126199M] Compiled for x86_64 (compiled on CI) using gcc (Debian 8.3.0-6) 8.3.0
[2024-02-14 16:42:33.138 126199M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2024-02-14 16:42:33.138 126199M] SOCKET_LISTENING: only local
[2024-02-14 16:42:33.138 126199M] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2024-02-14 16:42:33.138 126199M] MAXDBDAYS: max age for stored queries is 365 days
[2024-02-14 16:42:33.138 126199M] RESOLVE_IPV6: Resolve IPv6 addresses
[2024-02-14 16:42:33.138 126199M] RESOLVE_IPV4: Resolve IPv4 addresses
[2024-02-14 16:42:33.138 126199M] DBINTERVAL: saving to DB file every minute
[2024-02-14 16:42:33.138 126199M] DBFILE: Using /etc/pihole/pihole-FTL.db
[2024-02-14 16:42:33.138 126199M] MAXLOGAGE: Importing up to 24.0 hours of log data
[2024-02-14 16:42:33.138 126199M] PRIVACYLEVEL: Set to 0
[2024-02-14 16:42:33.138 126199M] IGNORE_LOCALHOST: Show queries from localhost
[2024-02-14 16:42:33.138 126199M] BLOCKINGMODE: Null IPs for blocked domains
[2024-02-14 16:42:33.138 126199M] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2024-02-14 16:42:33.138 126199M] DBIMPORT: Importing history from database
[2024-02-14 16:42:33.138 126199M] PIDFILE: Using /run/pihole-FTL.pid
[2024-02-14 16:42:33.138 126199M] SOCKETFILE: Using /run/pihole/FTL.sock
[2024-02-14 16:42:33.138 126199M] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2024-02-14 16:42:33.138 126199M] MACVENDORDB: Using /macvendor.db
[2024-02-14 16:42:33.138 126199M] GRAVITYDB: Using /etc/pihole/gravity.db
[2024-02-14 16:42:33.138 126199M] PARSE_ARP_CACHE: Active
[2024-02-14 16:42:33.138 126199M] CNAME_DEEP_INSPECT: Active
[2024-02-14 16:42:33.138 126199M] DELAY_STARTUP: No delay requested.
[2024-02-14 16:42:33.139 126199M] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2024-02-14 16:42:33.139 126199M] NICE: Cannot change niceness to -10 (permission denied)
[2024-02-14 16:42:33.139 126199M] MAXNETAGE: Removing IP addresses and host names from network table after 365 days
[2024-02-14 16:42:33.139 126199M] NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2024-02-14 16:42:33.139 126199M] EDNS0_ECS: Overwrite client from ECS information
[2024-02-14 16:42:33.139 126199M] REFRESH_HOSTNAMES: Periodically refreshing IPv4 names
[2024-02-14 16:42:33.139 126199M] RATE_LIMIT: Rate-limiting client making more than 1000 queries in 60 seconds
[2024-02-14 16:42:33.139 126199M] LOCAL_IPV4: Using IPv4 address 0.0.0.0 for pi.hole and hostname
[2024-02-14 16:42:33.139 126199M] LOCAL_IPV6: Automatic interface-dependent detection of address
[2024-02-14 16:42:33.139 126199M] BLOCK_IPV4: Automatic interface-dependent detection of address
[2024-02-14 16:42:33.139 126199M] BLOCK_IPV6: Automatic interface-dependent detection of address
[2024-02-14 16:42:33.139 126199M] SHOW_DNSSEC: Enabled, showing automatically generated DNSSEC queries
[2024-02-14 16:42:33.139 126199M] MOZILLA_CANARY: Enabled
[2024-02-14 16:42:33.139 126199M] PIHOLE_PTR: internal PTR generation enabled (pi.hole)
[2024-02-14 16:42:33.139 126199M] ADDR2LINE: Enabled
[2024-02-14 16:42:33.139 126199M] REPLY_WHEN_BUSY: Drop queries when the database is busy
[2024-02-14 16:42:33.139 126199M] BLOCK_TTL: 2 seconds
[2024-02-14 16:42:33.139 126199M] BLOCK_ICLOUD_PR: Enabled
[2024-02-14 16:42:33.139 126199M] CHECK_LOAD: Enabled
[2024-02-14 16:42:33.139 126199M] CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
[2024-02-14 16:42:33.139 126199M] CHECK_DISK: Warning if certain disk usage exceeds 90%
[2024-02-14 16:42:33.140 126199M] Finished config file parsing
[2024-02-14 16:42:33.140 126199M] Creating mutex
[2024-02-14 16:42:33.140 126199M] Creating mutex
[2024-02-14 16:42:33.140 126199M] PID of FTL process: 126199
[2024-02-14 16:42:33.141 126199M] Database version is 12
[2024-02-14 16:42:33.141 126199M] Resizing "FTL-strings" from 40960 to (81920 * 1) == 81920 (/dev/shm: 712.7KB used, 67.1MB total, FTL uses 700.8KB)
[2024-02-14 16:42:33.141 126199M] Imported 0 alias-clients
[2024-02-14 16:42:33.141 126199M] Database successfully initialized
[2024-02-14 16:42:33.184 126199M] Imported 0 queries from the long-term database
[2024-02-14 16:42:33.185 126199M] -> Total DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Cached DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Forwarded DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Blocked DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Unknown DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Unique domains: 0
[2024-02-14 16:42:33.185 126199M] -> Unique clients: 0
[2024-02-14 16:42:33.185 126199M] -> Known forward destinations: 0
[2024-02-14 16:42:33.185 126199M] Successfully accessed setupVars.conf
[2024-02-14 16:42:33.186 126199M] FATAL ERROR in dnsmasq core: failed to create listening socket for port 53: Permission denied
[2024-02-14 16:42:33.218 126199M] ########## FTL terminated after 80ms (code 1)! ##########
Port 53 is not in use by anything else:
root@zzzzz[/mnt/data1/home/xzyxzy]# netstat -al | grep DNS
root@zzzzz[/mnt/data1/home/xzyxzy]# netstat -al | grep :53
tcp 0 0 192.168.1.253:5357 0.0.0.0:* LISTEN
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53058 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53084 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53028 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53068 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53048 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53054 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53046 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53074 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53036 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53062 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53004 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53064 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53020 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53076 TIME_WAIT
tcp6 0 0 192.168.1.253:6443 172.16.14.149:53394 ESTABLISHED
do I need to add ENV DNSMASQ_USER=root to the docker file? And if so, where does it live?
Thanks!
128 GiB of RAM
3*6 TB WD Red
TrueNAS-SCALE-23.10.1.3
I have installed pihole from truecharts, but it cannot access port 53
[2024-02-14 16:42:33.137 126199M] Using log file /var/log/pihole/FTL.log
[2024-02-14 16:42:33.137 126199M] ########## FTL started on zzzzz! ##########
[2024-02-14 16:42:33.137 126199M] FTL branch: master
[2024-02-14 16:42:33.137 126199M] FTL version: v5.23
[2024-02-14 16:42:33.137 126199M] FTL commit: d201776e
[2024-02-14 16:42:33.137 126199M] FTL date: 2023-05-28 11:55:26 +0100
[2024-02-14 16:42:33.138 126199M] FTL user: pihole
[2024-02-14 16:42:33.138 126199M] Compiled for x86_64 (compiled on CI) using gcc (Debian 8.3.0-6) 8.3.0
[2024-02-14 16:42:33.138 126199M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2024-02-14 16:42:33.138 126199M] SOCKET_LISTENING: only local
[2024-02-14 16:42:33.138 126199M] AAAA_QUERY_ANALYSIS: Show AAAA queries
[2024-02-14 16:42:33.138 126199M] MAXDBDAYS: max age for stored queries is 365 days
[2024-02-14 16:42:33.138 126199M] RESOLVE_IPV6: Resolve IPv6 addresses
[2024-02-14 16:42:33.138 126199M] RESOLVE_IPV4: Resolve IPv4 addresses
[2024-02-14 16:42:33.138 126199M] DBINTERVAL: saving to DB file every minute
[2024-02-14 16:42:33.138 126199M] DBFILE: Using /etc/pihole/pihole-FTL.db
[2024-02-14 16:42:33.138 126199M] MAXLOGAGE: Importing up to 24.0 hours of log data
[2024-02-14 16:42:33.138 126199M] PRIVACYLEVEL: Set to 0
[2024-02-14 16:42:33.138 126199M] IGNORE_LOCALHOST: Show queries from localhost
[2024-02-14 16:42:33.138 126199M] BLOCKINGMODE: Null IPs for blocked domains
[2024-02-14 16:42:33.138 126199M] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2024-02-14 16:42:33.138 126199M] DBIMPORT: Importing history from database
[2024-02-14 16:42:33.138 126199M] PIDFILE: Using /run/pihole-FTL.pid
[2024-02-14 16:42:33.138 126199M] SOCKETFILE: Using /run/pihole/FTL.sock
[2024-02-14 16:42:33.138 126199M] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2024-02-14 16:42:33.138 126199M] MACVENDORDB: Using /macvendor.db
[2024-02-14 16:42:33.138 126199M] GRAVITYDB: Using /etc/pihole/gravity.db
[2024-02-14 16:42:33.138 126199M] PARSE_ARP_CACHE: Active
[2024-02-14 16:42:33.138 126199M] CNAME_DEEP_INSPECT: Active
[2024-02-14 16:42:33.138 126199M] DELAY_STARTUP: No delay requested.
[2024-02-14 16:42:33.139 126199M] BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2024-02-14 16:42:33.139 126199M] NICE: Cannot change niceness to -10 (permission denied)
[2024-02-14 16:42:33.139 126199M] MAXNETAGE: Removing IP addresses and host names from network table after 365 days
[2024-02-14 16:42:33.139 126199M] NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2024-02-14 16:42:33.139 126199M] EDNS0_ECS: Overwrite client from ECS information
[2024-02-14 16:42:33.139 126199M] REFRESH_HOSTNAMES: Periodically refreshing IPv4 names
[2024-02-14 16:42:33.139 126199M] RATE_LIMIT: Rate-limiting client making more than 1000 queries in 60 seconds
[2024-02-14 16:42:33.139 126199M] LOCAL_IPV4: Using IPv4 address 0.0.0.0 for pi.hole and hostname
[2024-02-14 16:42:33.139 126199M] LOCAL_IPV6: Automatic interface-dependent detection of address
[2024-02-14 16:42:33.139 126199M] BLOCK_IPV4: Automatic interface-dependent detection of address
[2024-02-14 16:42:33.139 126199M] BLOCK_IPV6: Automatic interface-dependent detection of address
[2024-02-14 16:42:33.139 126199M] SHOW_DNSSEC: Enabled, showing automatically generated DNSSEC queries
[2024-02-14 16:42:33.139 126199M] MOZILLA_CANARY: Enabled
[2024-02-14 16:42:33.139 126199M] PIHOLE_PTR: internal PTR generation enabled (pi.hole)
[2024-02-14 16:42:33.139 126199M] ADDR2LINE: Enabled
[2024-02-14 16:42:33.139 126199M] REPLY_WHEN_BUSY: Drop queries when the database is busy
[2024-02-14 16:42:33.139 126199M] BLOCK_TTL: 2 seconds
[2024-02-14 16:42:33.139 126199M] BLOCK_ICLOUD_PR: Enabled
[2024-02-14 16:42:33.139 126199M] CHECK_LOAD: Enabled
[2024-02-14 16:42:33.139 126199M] CHECK_SHMEM: Warning if shared-memory usage exceeds 90%
[2024-02-14 16:42:33.139 126199M] CHECK_DISK: Warning if certain disk usage exceeds 90%
[2024-02-14 16:42:33.140 126199M] Finished config file parsing
[2024-02-14 16:42:33.140 126199M] Creating mutex
[2024-02-14 16:42:33.140 126199M] Creating mutex
[2024-02-14 16:42:33.140 126199M] PID of FTL process: 126199
[2024-02-14 16:42:33.141 126199M] Database version is 12
[2024-02-14 16:42:33.141 126199M] Resizing "FTL-strings" from 40960 to (81920 * 1) == 81920 (/dev/shm: 712.7KB used, 67.1MB total, FTL uses 700.8KB)
[2024-02-14 16:42:33.141 126199M] Imported 0 alias-clients
[2024-02-14 16:42:33.141 126199M] Database successfully initialized
[2024-02-14 16:42:33.184 126199M] Imported 0 queries from the long-term database
[2024-02-14 16:42:33.185 126199M] -> Total DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Cached DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Forwarded DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Blocked DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Unknown DNS queries: 0
[2024-02-14 16:42:33.185 126199M] -> Unique domains: 0
[2024-02-14 16:42:33.185 126199M] -> Unique clients: 0
[2024-02-14 16:42:33.185 126199M] -> Known forward destinations: 0
[2024-02-14 16:42:33.185 126199M] Successfully accessed setupVars.conf
[2024-02-14 16:42:33.186 126199M] FATAL ERROR in dnsmasq core: failed to create listening socket for port 53: Permission denied
[2024-02-14 16:42:33.218 126199M] ########## FTL terminated after 80ms (code 1)! ##########
Port 53 is not in use by anything else:
root@zzzzz[/mnt/data1/home/xzyxzy]# netstat -al | grep DNS
root@zzzzz[/mnt/data1/home/xzyxzy]# netstat -al | grep :53
tcp 0 0 192.168.1.253:5357 0.0.0.0:* LISTEN
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53058 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53084 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53028 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53068 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53048 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53054 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53046 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53074 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53036 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53062 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53004 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53064 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53020 TIME_WAIT
tcp 0 0 zzzzz.yyyy.xxx:700 zzzzz.yyyy.xxx:53076 TIME_WAIT
tcp6 0 0 192.168.1.253:6443 172.16.14.149:53394 ESTABLISHED
do I need to add ENV DNSMASQ_USER=root to the docker file? And if so, where does it live?
Thanks!