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
LEARN ABOUT DEBIAN
dns_tree
dns_browse(1) General Commands Manual dns_browse(1)
NAME
dns_tree -- command-line frontend to dig
SYNOPSIS
dns_tree [-f] [-v] [-d] [-t TYPE] [-m MATCH] DNS_domain
DESCRIPTION
This manual page documents briefly the dns_tree command.
This manual page was written for the Debian distribution because the original program does not have a manual page.
dns_tree is a program that works as a front-end to dig. Given a specific domain dns_tree will make several dig invocations to fetch a
zone and it will format the output in in a somewhat sensible hierarchical style (a tree).
Information extracted from the DNS relies on being possible to fetch a zone through a zone transfer. If the DNS servers for the requested
domain do not allow file transfers dns_tree will not be able to obtain information from the zone.
All data obtain is cached in ~/.DNS_BROWSE with an approximation of the usual DNS caching rules. Remove all files in that directory to
prematurely flush the cache.
OPTIONS
A summary of options is included below.
-t TYPE Show only records of TYPE. This argument can be repeated to indicate multiple types. Use the "all" type to print all the known
types.
-m MATCH Show only records in which the first component matches the PERL regexpt MATCH.
-h Show summary of options.
-v Enable verbose mode. All DNS requests are printed in the standard error.
-d Enable debug output. Presents internal information of the program
-f Override warnings (force).
SEE ALSO
dig (1), dns_browse (1), perlrequick (1).
AUTHOR
This manual page was written by Javier Fernandez-Sanguino jfs@debian.org for the Debian system (and may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version pub-
lished by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
dns_browse(1)