09-08-2017
I think that the reverse DNS is looked up at login time and recorded. You would just need to look up the DNS name to get the IP again though.
You might use one of:- dig, host, nslookup or something else, even ping might do it for you.
I hope that this helps,
Robin
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am installing redhat linux 6.2 on an intel based system. Whether i want to know any naming conventions should i follow.
ie Any convention to follow to name a linux machine(To give hostname). Simillarly for domain name also. Please suggest in this regard (1 Reply)
Discussion started by: bache_gowda
1 Replies
2. IP Networking
Using Solaris 8 (or WINXP).
I am trying to look up a specific DNS hostname, but I don't know which DNS server houses that entry. How can I find the hostname?
nslookup gives me the following:
C:\>nslookup hostname
Server: dnsserver
Address: x.x.x.x
*** dnsserver can't find hostname:... (2 Replies)
Discussion started by: dangral
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies
4. UNIX for Advanced & Expert Users
Is there a way to find out what name a client is using to connect to a server? For example: client is telnet'ing or ftp'ing to Server B.domain.com, using name C.domain.com. (B and C resolve to the same IP). Can we, on the server B find out that the client used C.domain.com to connect? I have tried... (1 Reply)
Discussion started by: mugambo
1 Replies
5. AIX
When and how is the variable $HOSTNAME populated ?
I am asking because I had a weird situation that just happened.
I have created backup scripts that do backups on different servers. Each servers has different folders to be backed up. So I had included a check on $HOSTNAME to find out which... (5 Replies)
Discussion started by: Browser_ice
5 Replies
6. UNIX for Dummies Questions & Answers
Good day,
I would like to resolve IP's to Hostnames using Putty.
I'm using Mandriva Linux 2008.0.
Is this possible?
Perhaps with nmap? (13 Replies)
Discussion started by: McGuywer
13 Replies
7. Programming
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies
8. Emergency UNIX and Linux Support
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies
9. UNIX for Advanced & Expert Users
deleted (0 Replies)
Discussion started by: hce
0 Replies
LEARN ABOUT OPENSOLARIS
cports
cports(1M) System Administration Commands cports(1M)
NAME
cports - expand host names into <host, server, port> triples
SYNOPSIS
$CLUSTER_HOME/bin/cports hostname [hostname...]
DESCRIPTION
The cports utility expands the hostname arguments into a list of <host, server, port> triples. The returned information is used to access
the serial port consoles of the named hosts by way of the terminal server returned in the triples.
If an entry for serialports has been made in the /etc/nisswitch.conf file, then the order of lookups is controlled by that entry. If there
is no such file or no such entry, then the nameservice look up order is implicitly nis files.
EXAMPLES
Example 1 Using the cports Command
If the /etc/serialports file contains the entry:
pepsi soda-tc 5002
the following command:
% cports pepsi
prints the following string:
pepsi soda-tc 5002
This information can be used by the telnet(1) command to remotely access pepsi's console:
% telnet soda-tc 5002
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWccon |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
telnet(1), cconsole(1M), ccp(1M), chosts(1M), crlogin(1M), cssh(1M), ctelnet(1M), serialports(4), attributes(5)
Sun Cluster 3.2 8 Sep 2007 cports(1M)