Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CM Usertracking: Shortname instead of FQDN in End Hosts Table

Hi

I'm using LMS 2.6, CM 4.0.12 with CS 3.06.

Although the acquisition settings are set to use DNS to resolve hostnames, I've a lot of endhosts (mostly UNIX) with shortnames in the end hosts table. I don't really understand how the UT Acquisition resolves these hostnames so it's quiet difficult to troubleshoot :(

thanks for your help, greets chris

PS: please let me now if you need more information

2 REPLIES
Cisco Employee

Re: CM Usertracking: Shortname instead of FQDN in End Hosts Tabl

It uses Java and the server's system resolver to resolve the IP address to a hostname. The best way to check this mapping is to use the NMSROOT/bin/resolver.pl utility. Take one of the end host IP addresses, and run:

NMSROOT/bin/perl NMSROOT/bin/resolver.pl IP

That will tell you what the system resolver thinks of that IP. It could be that you need to fix your DNS server to return the FQDN (or fix entries in the server's local hosts file).

For example, on a Solaris system, the typical hosts resolution order is files,dns. So, if there is an entry in the /etc/hosts file, then that will be used by UT. If that entry only has the hostname, then only the hostname will be used.

New Member

Re: CM Usertracking: Shortname instead of FQDN in End Hosts Tabl

The dns resolver gave me the shortname, although there was no entry in the servers's local host file.

The problem was, that NIS replied to these requests with shortnames. To solve my problem I had to change the squence of resolving hostnames in /etc/nsswitch.conf as follows

hosts: files dns nis

Thanks a lot

greets

chris

132
Views
0
Helpful
2
Replies