1
 2
 3
 4
 5
 6
 7
 8
 9
10
# check systemd-resolved status
resolvectl status

# disable dns on 53 port
vim /etc/systemd/resolved.conf
#switch off binding to port 53
DNSStubListener=no

#disable LLMNR
LLMNR=false