02-23-2010
Is there a unix command to find ALL hostnames for an ip address?
I am trying to determine if there are several url/host names for an IP address. Is there a UNIX command to find ALL host names for an IP address?
Thank you in advance.
10 More Discussions You Might Find Interesting
1. IP Networking
How do you find mac address and active new card. (1 Reply)
Discussion started by: wmetz
1 Replies
2. Shell Programming and Scripting
given a start directory,a filename,how to find it? (3 Replies)
Discussion started by: bluo
3 Replies
3. Shell Programming and Scripting
Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same.
Thanks in advance.
Regards
Jatin Jain (10 Replies)
Discussion started by: jatin.jain
10 Replies
4. UNIX for Advanced & Expert Users
Could anyone help me to identify the IP address of a printer queue with its printer queue name information . (1 Reply)
Discussion started by: lenin1985
1 Replies
5. Cybersecurity
Hi,
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Thanks
Vishwas (2 Replies)
Discussion started by: loggedout
2 Replies
6. Programming
I need to find the MAC address of the ethernet cards on the host machine from the C language. I have found a way to do this on Linux using socket(), ioctl() and the ifreq structure. But this does not seem to work on AIX, HP/UX and probably the others I need (Solaris, SCO, Alpha etc).
Is there a... (7 Replies)
Discussion started by: Pug
7 Replies
7. UNIX for Dummies Questions & Answers
any useful command to find and e-mail address hardcoded into a cfg file on an specific server?
I already tried with::
find . -type f | xargs grep -l "nobody@foundstone.com"
Thanks!! (1 Reply)
Discussion started by: JLo5621
1 Replies
8. Shell Programming and Scripting
Team,
I have prepared a script which I run from my remote machine(Jump-box)server
Below is the script
FILEDATE=`date +%F`
LOGFILE=/home/abc/scripts/xyz.$FILEDATE.log
find /home/abc/scripts/xyz.*.log -type f -mtime -3 -delete
touch $LOGFILE
exec 1>$LOGFILE 2>&1
#healthcheck batch runs... (1 Reply)
Discussion started by: whizkidash
1 Replies
9. Shell Programming and Scripting
i have a file which has 100 servers,i want a script which can output me ip address and hostname for that server.
Thanks in advance!!
input file
abc.com
output file should be
abc.com 192.168.1..1 (1 Reply)
Discussion started by: Moon1234
1 Replies
10. UNIX for Beginners Questions & Answers
hi~~
my Os is 6.1
i want to find heartbeat ip address from below result.
i think, is it en7 onto both nodes?
/usr/es/sbin/cluster/utilities/cllsif
Adapter Type Network Net Type Attribute Node IP Address Hardware Address Interface Name Global Name ... (2 Replies)
Discussion started by: tomato00
2 Replies
LEARN ABOUT ULTRIX
nsquery
nsquery(1) General Commands Manual nsquery(1)
Name
nsquery - name server query command
Syntax
/usr/ucb/nsquery [ lookup ] [ host ] [ server ]
Description
The command provides an interface to obtain host name and address information.
If you specify host, the command obtains information about the specified host. If no host is specified, the command obtains information
about the local host system.
If you specify server, the command queries the BIND server that you specify. If you do not specify a server, the command queries the
default BIND server.
Options
lookup Retrieves the host name, Internet Protocol (IP) address, and aliases of the specified host. If no host or server is specified, the
command obtains information about the local system from the default BIND server.
If you do specify the lookup option, the command obtains the information about the BIND server and host specified (or their
defaults). If the system from which you issue the command is a BIND server, and you do not specify the lookup option, information
about only that server is retrieved.
Files
Directory containing BIND server data file
BIND server boot file
Host database file containing name to address mapping for BIND primary
server
Host database file containing address to name mapping for BIND primary
server
Local host database file containing address to name mapping for BIND
server
BIND server cache file
BIND data file
See Also
nslookup(1), resolver(3), resolver(5), named(8)
Guide to the BIND/Hesiod Service
nsquery(1)