How to access internal domain names directly without the suffix eg. mattionline.lan.
Before: ssh homeserver@mattionline.lan
After: ssh homeserver
Systemd
cat /etc/systemd/resolved.conf
[Resolve]
DNS=192.168.2.134
DNSSEC=off
Domains=mattionline.lan
systemctl restart systemd-resolved
resolved
cat /etc/resolv.conf
nameserver 192.168.2.134
search mattionline.lan
You don’t have to restart a service