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 VMware training/consultant (no specific order) with more than 15 years in the IT industry. Main focus is VMware vSphere, Horizon View and Site Recovery Manager with a deepdive to performance.
Michael is VCDX 210, VCAP 4/5 certified, has been rewarded with the vExpert title from 2011, is a PernixPro, Nutanix Tech Champion and a Nutanix Platform Professional.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

You must be logged in to post a comment.