Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

look up Unix server alias name

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 07-17-2012
abbya abbya is offline
Registered User
 
Join Date: Jul 2012
Last Activity: 29 May 2016, 11:28 AM EDT
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
look up Unix server alias name

Good morning everyone, does anyone know what Unix command to use to lookup a servers alias name, thanks
Sponsored Links
    #2  
Old Unix and Linux 07-17-2012
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 25 September 2016, 6:38 PM EDT
Location: NM
Posts: 10,822
Thanks: 445
Thanked 966 Times in 897 Posts
nslookup will show an alias if there is one. But you have to know a valid server name to start with.
Sponsored Links
    #3  
Old Unix and Linux 07-17-2012
methyl methyl is offline Forum Advisor  
Advisor
 
Join Date: Mar 2008
Last Activity: 8 June 2016, 9:58 PM EDT
Posts: 6,402
Thanks: 288
Thanked 676 Times in 645 Posts
Depends on where the alias(es) are held.
If the alias(es) are in a DNS , nslookup can be used to convert IP address to names providing that your DNS server is configured correctly and your administrator has not disabled reverse DNS lookup.

If the alias(es) are held in a /etc/hosts file nslookup should be able to look up the IP address and report all aliases.

The behaviour of nslookup is Operating System dependent.
Please post you Operating System and version in future posts.
    #4  
Old Unix and Linux 07-18-2012
abbya abbya is offline
Registered User
 
Join Date: Jul 2012
Last Activity: 29 May 2016, 11:28 AM EDT
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
thanks for your help

thanks for your help
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Find and delete files and folders which are n days older from one unix server to another unix server sachinkl Shell Programming and Scripting 2 03-12-2012 10:02 AM
Apache How to 'alias'/'locate'/'redirect' subsite to another internal server? Dr Lou Web Programming 3 10-19-2010 11:46 AM
using alias in cygwin unix npatwardhan Shell Programming and Scripting 1 01-18-2009 08:36 AM
Changing windows server alias name on windows or unix? NycUnxer UNIX for Dummies Questions & Answers 1 03-26-2008 05:54 PM



All times are GMT -4. The time now is 09:52 PM.