02-23-2010
You can use dig
dig -x ipaddr
Check the man page for more details
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
RARPD(8) System Manager's Manual RARPD(8)
NAME
rarpd - reverse address resolution protocol daemon
SYNOPSIS
rarpd [-d]
DESCRIPTION
Rarpd listens on the ethernet for broadcast packets asking for reverse address resolution. These packets are sent by hosts at boot time to
find out their IP address. Rarpd looks up the six octet ethernet number in the /etc/ethers file finding a host name. This name is trans-
lated to the IP address of the host by a DNS lookup. The IP address is then sent to the host.
Before rarpd can start its service it first finds out what the IP addresses of the ethernets are. It will look through /etc/ethers to map
the ethernet addresses to host names. It then uses /etc/hosts to map the host names to IP addresses. If this lookup fails then several
RARP requests are broadcasted in the hope that some RARP server knows the addresses. The IP addresses are eventually set in the same way
as ifconfig(8). (The address is not changed if already set with ifconfig.) Note that the host names in the ethers and hosts files must
match exactly. The DNS can not be used yet, so a simple name can't be translated to a fully qualified name.
Rarpd exits after startup if there are no active ethernets, or if there is no ethers file.
Warning! Sun diskless workstations assume that the first RARP server that answers is the host they are to boot from. For this to work all
other Sun RARP servers delay their answer if they are not also the requestors boot server. The Minix rarpd does not have this kludge so it
will happily engage the Sun boot server to see who can answer the client first. Unless your Minix host can actually serve a Sun diskless
client, it is better not to list any more hosts in the ethers file than necessary.
OPTIONS
-d Turns on debugging messages. Debugging can also be turned on at runtime by sending signal SIGUSR1 or turned off with SIGUSR2.
SEE ALSO
ifconfig(8), ethers(5), hosts(5), set_net_default(8), boot(8), inetd(8), irdpd(8), nonamed(8).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
RARPD(8)