Networking Forums

Networking Forums > Computer Networking > Linux Networking > reverse ipv6 dns lookup in a script, using, for example,/usr/bin/host utility ?

Reply
Thread Tools Display Modes

reverse ipv6 dns lookup in a script, using, for example,/usr/bin/host utility ?

 
 
viki
Guest
Posts: n/a

 
      04-16-2008, 07:28 AM
How do I do reverse ipv6 dns lookup in a script,
in particular using /usr/bin/host utility ?

Thanks
Viki
 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      04-16-2008, 12:13 PM
On Wed, 16 Apr 2008 00:28:34 -0700 (PDT), viki wrote:
> How do I do reverse ipv6 dns lookup in a script,


You could put results into an array and parse it.
You can use a while loop to read command,
you can pipe command into a file and use a while
loop to read the file.

You can use "set" to parse a line.
man set (then man man to find set builtin)

You can modify IFS to parse fields out of a word.

> in particular using /usr/bin/host utility ?


man host
to get command line arguments for ipv6.

Actual commands/method selected may be found in
http://tldp.org/LDP/abs/html/index.html

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS - Reverse lookup configuration david Windows Networking 11 07-22-2009 03:35 PM
Zen reverse lookup Richard Tobin Broadband 16 12-07-2006 10:55 PM
reverse lookup IP problem?? cmk128@hotmail.com Linux Networking 4 10-16-2006 12:58 AM
SMTP and Reverse DNS Lookup bpettus Windows Networking 3 12-28-2005 11:43 PM
Reverse lookup failure Allan Butler Linux Networking 6 09-18-2005 05:57 AM



1 2 3 4 5 6 7 8 9 10 11