Hello , I did a next step and take the firewall option for outgoing on blocked, before I set the rules for a normal ipfire behavior. DNS e.g. uses TLS over TCP port 853. Whois uses TCP Port 41, Pakfire updates TCP 443, etc.
So, but why is there a connection trying at UDP Port 53 to an DNS root Server?
I did not configure this at all and source is my own IP so ipfire itself. How this can happens?
]# cat resolv.conf
search home
nameserver 127.0.0.1
options edns0 trust-ad
cat /etc/unbound/unbound.conf
server:
Common Server Options
chroot: “”
directory: “/etc/unbound”
username: “nobody”
do-ip6: no
# System Tuning
include: "/etc/unbound/tuning.conf"
# Logging Options
use-syslog: yes
log-time-ascii: yes
# Unbound Statistics
statistics-interval: 86400
extended-statistics: yes
# Prefetching
prefetch: yes
prefetch-key: yes
# Privacy Options
hide-identity: yes
hide-version: yes
# DNSSEC
auto-trust-anchor-file: "/var/lib/unbound/root.key"
val-log-level: 1
log-servfail: yes
# Hardening Options
harden-large-queries: yes
harden-referral-path: yes
# TLS
tls-cert-bundle: /etc/ssl/certs/ca-bundle.crt
# Harden against DNS cache poisoning
unwanted-reply-threshold: 1000000
# Listen on all interfaces
interface-automatic: yes
interface: 0.0.0.0
# Allow access from everywhere
access-control: 0.0.0.0/0 allow
# Timeout behaviour
infra-keep-probing: yes
# Bootstrap root servers
root-hints: "/etc/unbound/root.hints"
# Include DHCP leases
include: "/etc/unbound/dhcp-leases.conf"
# Include hosts
include: "/etc/unbound/hosts.conf"
# Include any forward zones
include: "/etc/unbound/forward.conf"
remote-control:
control-enable: yes
control-use-cert: no
control-interface: 127.0.0.1
Yeah but i found the troubler maker
cat /etc/unbound/root.hints
shows the root server and some more A to M.
Is this really necessary? till now i have no problems with dns resolution ?
This behavior starts 3 days ago at 8 pm. My actual DNS servers were all set at 03.04.2026 after the first start of this ipfire. Maybe the tor extension is the issue? Because this is also not working this time.
It is there for a reason and it will be required under certain circumstances.
A quick search found this info from the IANA web site
Configuring the Root Servers
Operators who manage a DNS recursive resolver typically need to configure a “root hints file”. This file contains the names and IP addresses of the root servers, so the software can bootstrap the DNS resolution process. For many pieces of software, this list comes built into the software.
That tells me that unbound can be, but must not, because now it does not work as recurser and it works like it should.. as i told here and you can read here, it is optional.
I do not need plaintext DNS querys out of my firewall to tell everybody which websites i am read. Thank you!
Yes that is right and no i did not check the packets, but what else send ipfire over UDP Port 53 to one of 13 root DNS server ? I recognized this behavior for the first time, so for a long time this connections were made without my knowing. anyway…
So if now they are blocked, it means nothing for the past, BUT ….. I have found a very nice feature for unbound and will tell the story here a little further.