We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Only 16 chars. in domain name

t-bone
t-bone asked
on
Medium Priority
195 Views
Last Modified: 2010-03-18
I can't seem to get my machine to resolve more than 16 characters of an incoming hostname.  For example, the host sundial.gatech.edu, when telneting to my box, appears as "sundial.gatech.e". (only 16 characters) I get this at login "last login from...", using netstat, and last.  But using nslookup returns the correct FQDN, using any domain name server.  Any ideas would be greatly appreciated.
Comment
Watch Question

Commented:
Your machine doesn't have any problem resolving the hostname.
If did, it would show up numerically (exactly 15 characters,
probably the way the "last login from" format was designed.)

But this is normal behaviour.. does it to me too.  If you
absolutely have to have the last login in full, you could
probably write a simple bourne script to grep through the
end of /var/log/messages, keep a running variable via cron,
and pop an echo statement in your .(shell)rc to show it to
you on login.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.