How to completly disable LLMNR?

6,777

After setting LLMNR=no in /etc/systemd/resolved.conf Have you tried restarting the systemd resolved service issuing the command below?

systemctl restart systemd-resolved.service
Share:
6,777

Related videos on Youtube

Romain Moreau
Author by

Romain Moreau

Updated on September 18, 2022

Comments

  • Romain Moreau
    Romain Moreau over 1 year

    By default, with LLMNR=yes set in /etc/systemd/resolved.conf, here are the port bindings (using netstat -l -p -a -n):

    tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN      8214/systemd-resolv
    tcp6       0      0 :::5355                 :::*                    LISTEN      8214/systemd-resolv
    udp        0      0 0.0.0.0:5355            0.0.0.0:*                           8214/systemd-resolv
    udp6       0      0 :::5355                 :::*                                8214/systemd-resolv
    

    When LLMNR=no is set in /etc/systemd/resolved.conf, I still have the following bindings:

    udp        0      0 0.0.0.0:5355            0.0.0.0:*                           8214/systemd-resolv
    udp6       0      0 :::5355                 :::*                                8214/systemd-resolv
    

    How can I completly unbound all LLMNR port bindings?


    System: Ubuntu server 15.04

  • binaryanomaly
    binaryanomaly over 7 years
    This works as desired.