Sponsored Content
Top Forums Shell Programming and Scripting nslookup: am I doing it right? Post 302485556 by Abdulelah on Wednesday 5th of January 2011 01:53:02 PM
Old 01-05-2011
here is the output of my nslookup version:

Quote:
Server: 212.121.0.5
Address: 212.121.0.5#53

Non-authoritative answer:
76.160.195.67.in-addr.arpa name = ir1.fp.vip.ac4.yahoo.com.

Authoritative answers can be found from:
160.195.67.in-addr.arpa nameserver = ns5.yahoo.com.
160.195.67.in-addr.arpa nameserver = ns1.yahoo.com.
160.195.67.in-addr.arpa nameserver = ns2.yahoo.com.
160.195.67.in-addr.arpa nameserver = ns4.yahoo.com.
160.195.67.in-addr.arpa nameserver = ns3.yahoo.com.
ns1.yahoo.com internet address = 68.180.131.16
ns2.yahoo.com internet address = 68.142.255.16
ns3.yahoo.com internet address = 121.101.152.99
ns4.yahoo.com internet address = 68.142.196.63
ns5.yahoo.com internet address = 119.160.247.124
---------- Post updated at 06:53 PM ---------- Previous update was at 06:51 PM ----------

Quote:
Originally Posted by mtomar
I think what u are looking for is this :
Code:
# dig -x 67.195.160.76 +short 
ir1.fp.vip.ac4.yahoo.com.

Code:
dig -x 67.195.160.76

; <<>> DiG 9.7.0-P1 <<>> -x 67.195.160.76
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54543
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;76.160.195.67.in-addr.arpa.    IN      PTR

;; ANSWER SECTION:
76.160.195.67.in-addr.arpa. 1200 IN     PTR     ir1.fp.vip.ac4.yahoo.com.

;; Query time: 64 msec
;; SERVER: 10.237.129.4#53(10.237.129.4)
;; WHEN: Wed Jan  5 21:07:07 2011
;; MSG SIZE  rcvd: 82

thanks for that, but it doesn't work all the time.. just like nslookup
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

named and nslookup

Guys , Am using Linux - Red Hat 6.1 . My DNS and nslookup command was working fine and ppl. can resolve through this server . but i changed something in /etc/named.conf , that stopped the DNS . The named proccess is working , but nslookup command is not , i get this error message : ... (3 Replies)
Discussion started by: tamemi
3 Replies

2. Shell Programming and Scripting

NSLOOKUP script

Hi Anyone know of a quick and simple way to script an NSLOOKUP's from a list/text file? Thanks, Gav (1 Reply)
Discussion started by: gavcollins
1 Replies

3. IP Networking

nslookup command?

Hai guys, In which way does the command,"nslookup", will be helpful? Please give me examples. Thanks. (5 Replies)
Discussion started by: Felicia23
5 Replies

4. UNIX for Advanced & Expert Users

nslookup for Unix

I am connecting from windows via Putty to some other Unix server. How can I display my current windows MachineName/NTID in putty? Thanks :) (4 Replies)
Discussion started by: som.nitk
4 Replies

5. Shell Programming and Scripting

nslookup output

Hi All, If I give the hostname followed by nslookup, I get the output like below, commandprompt>nslookup efgh Using /etc/hosts on: xyz looking up FILES Trying DNS Non-authoritative answer: Name: abcd Address: 47.47.47.47 Aliases: efgh I am not sure on the bolded ones. Can... (4 Replies)
Discussion started by: Rajakct84
4 Replies

6. Solaris

Further nslookup options if any !!

Hi , I have a requirement to find the aliases by doing an nslookup on the Cname. If i do an nslookup on the alias name i get the Cname , but i need the cname from alias name. eg: Hostname = acb.example.com Virtual name= abcvirtual.example.com nslookup abcvirtual.example.com will... (3 Replies)
Discussion started by: mpics66
3 Replies

7. Emergency UNIX and Linux Support

Nslookup!!! Please look up!!!

Hi all Nslookup command returns!!!! Code: nslookup 10.91.44.29 Server: 127.0.0.1 Address: 127.0.0.1#53 29.44.91.in-addr.arpa name = station1.example.com Code: nslookup station1.example.com Server: 127.0.0.1 Address: 127.0.0.1#53 Name: ... (4 Replies)
Discussion started by: anishkumarv
4 Replies

8. Solaris

nslookup command

hi, I am new in Solaris 10 , i am installing a software in solaris 10, while performing pre requisite nslookup command should return without error, and the IP address and host should match those listed in the etc/hosts file, but nslookup command show the below error , can anybody tell me how i... (4 Replies)
Discussion started by: zeeshan047
4 Replies

9. Shell Programming and Scripting

nslookup hanging

Hey folks. Long time lurker, first time poster. I'm a bit of a newbie at "coding" (obviously, scripting is a teensy bit different than coding) and I've run into a problem that I just can't seem to get around. I'm going through a list of servers to check their name, IP, reverse-NSLOOKUP name and... (2 Replies)
Discussion started by: Bearwhale
2 Replies

10. Shell Programming and Scripting

awk nslookup

Hi, I have a rather simple awk statement to perform an nslookup on a file (list of IPs). If the lookup yields a result, then it sends it to a file. If no result, there is no output. I've been trying to use !NR or !NF with an if statement to make the output state "NA" if there is no result,... (5 Replies)
Discussion started by: umang2382
5 Replies
Finance::Quote::Yahoo::USA(3)				User Contributed Perl Documentation			     Finance::Quote::Yahoo::USA(3)

NAME
Finance::Quote::Yahoo::USA - Obtain information about stocks and funds in the USA and Canada. SYNOPSIS
use Finance::Quote; $q = Finance::Quote->new; %info = $q->fetch("usa","SGI"); DESCRIPTION
This method provides access to financial information from a number of exhcanges in the United States and Canada. The following methods are available: canada usa yahoo nyse nasdaq vanguard fidelity These methods all use the same information source, and hence can be considered somewhat interchangable. However, the method "yahoo" should be passed to fetch if you wish to obtain information from any source that Yahoo tracks. This method is loaded by default by Finance::Quote, although it can be explicitly loaded by passing the argument "Yahoo::USA" to Finance::Quote->new(). Information returned by this module may be subject to Yahoo's terms and conditions. See http://finance.yahoo.com/ for more information. LABELS RETURNED
This module returns all the standard labels that Yahoo provides, as well as the currency label. See Finance::Quote::Yahoo::Base for more information. BUGS
Yahoo does not make a distinction between the various exchanges in the United States and Canada. For example, it is possible to request a stock using the "NYSE" method and still obtain data even if that stock does not exist on the NYSE but exists on a different exchange. SEE ALSO
Yahoo Finance, http://finance.yahoo.com/ Finance::Quote::Yahoo::Base perl v5.12.1 2009-10-05 Finance::Quote::Yahoo::USA(3)
All times are GMT -4. The time now is 12:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy