look up Unix server alias name | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

look up Unix server alias name

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-17-2012
abbya abbya is offline
Registered User
 
Join Date: Jul 2012
Last Activity: 16 August 2014, 2:51 AM EDT
Posts: 8
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 07-17-2012
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 24 November 2014, 8:20 AM EST
Location: NM
Posts: 10,280
Thanks: 287
Thanked 814 Times in 756 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 07-17-2012
methyl methyl is offline Forum Advisor  
Advisor
 
Join Date: Mar 2008
Last Activity: 18 April 2014, 5:13 AM EDT
Posts: 6,396
Thanks: 287
Thanked 673 Times in 642 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 07-18-2012
abbya abbya is offline
Registered User
 
Join Date: Jul 2012
Last Activity: 16 August 2014, 2:51 AM EDT
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
thanks for your help

thanks for your help
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:02 AM
How to create alias in HP Unix ? manalisharmabe HP-UX 5 07-12-2011 09:07 PM
Apache How to 'alias'/'locate'/'redirect' subsite to another internal server? Dr Lou Web Programming 3 10-19-2010 12:46 PM
using alias in cygwin unix npatwardhan Shell Programming and Scripting 1 01-18-2009 09:36 AM
Changing windows server alias name on windows or unix? NycUnxer UNIX for Dummies Questions & Answers 1 03-26-2008 06:54 PM



All times are GMT -4. The time now is 11:01 AM.