Last active
March 3, 2019 20:34
-
-
Save mcgarrigle/3d5d32db5a8a7fc85925fd0c3fe93c5f to your computer and use it in GitHub Desktop.
Multicast DNS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Multicast DNS | |
CentOS: | |
yum install -y epel-release | |
yum install -y nss-mdns avahi avahi-tools bind-utils | |
systemctl stop firewalld | |
systemctl enable avahi-daemon.service --now | |
# /etc/nsswitch.conf: | |
# hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname | |
Ubuntu: | |
apt-get install avahi-utils dnsutils | |
# mDNS lookup | |
dig @224.0.0.251 -p 5353 -t a imac.local | |
# mDNS service disovery | |
avahi-browse --all -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment