SLP DA giving out services with and SLP DA status show up as NORSP in slpinfo

I noticed with a tool called slpsnoop, that service advertise them self with a ip adress

When I look for example at /etc/slp.reg.d/ntp.reg I see the following registration:


When I do a echo $HOSTNAME I get the servername back. But when I ping the server name I ping So I looked at the /etc/hosts file and there I see the following record:   localhost    servername  servername

So the first record DNS finds is and that is what get advertised. If you remove the part after localhost everything works fine!

Update 2008-09-03:

It seems that a customized template for Vmware ESX alters the /etc/hosts file for So watch out!

About Michael
Michael Wilmsen is a experienced VMware Architect with more than 20 years in the IT industry. Main focus is VMware vSphere, Horizon View and Hyper Converged with a deep interest into performance and architecture. Michael is VCDX 210 certified, has been rewarded with the vExpert title from 2011, Nutanix Tech Champion and a Nutanix Platform Professional.

RSS feed for comments on this post.

Leave a Reply

You must be logged in to post a comment.