Created
March 24, 2011 13:47
-
-
Save hgfischer/885080 to your computer and use it in GitHub Desktop.
RedHat/CentOS MDNS settings
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
# adjust /etc/sysconfig/network with your hostname without domain | |
# add [hostname].local in /etc/hosts | |
# 127.0.0.1 [hostname].local [hostname] >> /etc/hosts | |
echo 'send host-name "<hostname>";' > /etc/dhclient-eth0.conf | |
echo 'supersede domain-name "local";' >> /etc/dhclient-eth0.conf | |
echo 'supersede domain-search "local";' >> /etc/dhclient-eth0.conf | |
yum install nss-mdns -y | |
service network restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good job! And I think this would be better : )