• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

Only 16 chars. in domain name

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.
0
t-bone
Asked:
t-bone
1 Solution
 
xtermCommented:
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.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now