Subject: How to get TEXT name for IP address on internet
via command line. - msg#00629
I am in the process of writing a small script to analise access to our
internet site - logs.
I can extract the data well enough but a list of visiting IP addresses is
not wholly useful.
I would like, much like the NT TRACERT command to be able to use a command
to translae the IP address to a text representation. ( I don't need the
route )
To date I have not found a practical way of doing this !
Suggestions !
Thread at a glance:
Previous Message by Date:
Weird problem help?
Ok when I dig the domain that handles DNS for my other domains I get this
on BIND 9.2.1
;; QUESTION SECTION:
;ns.blah.net. IN A
;; ANSWER SECTION:
ns.blah.net. 18220 IN A 67.x.x.26
;; AUTHORITY SECTION:
blah.net. 37957 IN NS ns1.blah.net.
blah.net. 37957 IN NS ns.blah.net.
;; ADDITIONAL SECTION:
ns.blah.net. 37957 IN A 67.x.x.26
ns1.blah.net. 37739 IN A 67.x.x.27
I am awaiting a new T1 and since wanted a new domain to handle DNS
for all the domains handled.
I mirrored the records file from blah domain and changed accordingly when I
dig
ns.blahnew.net I get this???
; <<>> DiG 9.2.1 <<>> ns.rackspeed.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35589
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;ns.blahnew.net. IN A
;; AUTHORITY SECTION:
blahnew.net. 10800 IN SOA ns.blah.net.
hostmaster.blah.net. 1052076072 7200 3600 604800 38400
;; Query time: 675 msec
;; SERVER: 65.32.1.80#53(65.32.1.80)
;; WHEN: Tue May 27 21:35:41 2003
;; MSG SIZE rcvd: 95
Anyone have any Ideas?? Why it would do this right now I am limited to 1 IP
until T1 is installed then I will have full 64 IP's. All the other domains
seem to dig correctly for correct domain names please email me off list as I
dont want to broadcast.
I love this Newsgroup it has helped me alot!!
--
Thanks,
Eric Haskins
Eric Haskins Consulting
A+,Linux+,CCNA,MCSE NT4
Next Message by Date:
Re: How to get TEXT name for IP address on internet via command line.
Mark Eades wrote:
> I am in the process of writing a small script to analise access to our
> internet site - logs.
> I can extract the data well enough but a list of visiting IP addresses is
> not wholly useful.
> I would like, much like the NT TRACERT command to be able to use a command
> to translae the IP address to a text representation. ( I don't need the
> route )
> To date I have not found a practical way of doing this !
Do you need anything beyond a reverse lookup of the IP addresses?
Tracerouting each client's IP seems a little extreme...
- Kevin
Previous Message by Thread:
Weird problem help?
Ok when I dig the domain that handles DNS for my other domains I get this
on BIND 9.2.1
;; QUESTION SECTION:
;ns.blah.net. IN A
;; ANSWER SECTION:
ns.blah.net. 18220 IN A 67.x.x.26
;; AUTHORITY SECTION:
blah.net. 37957 IN NS ns1.blah.net.
blah.net. 37957 IN NS ns.blah.net.
;; ADDITIONAL SECTION:
ns.blah.net. 37957 IN A 67.x.x.26
ns1.blah.net. 37739 IN A 67.x.x.27
I am awaiting a new T1 and since wanted a new domain to handle DNS
for all the domains handled.
I mirrored the records file from blah domain and changed accordingly when I
dig
ns.blahnew.net I get this???
; <<>> DiG 9.2.1 <<>> ns.rackspeed.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35589
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;ns.blahnew.net. IN A
;; AUTHORITY SECTION:
blahnew.net. 10800 IN SOA ns.blah.net.
hostmaster.blah.net. 1052076072 7200 3600 604800 38400
;; Query time: 675 msec
;; SERVER: 65.32.1.80#53(65.32.1.80)
;; WHEN: Tue May 27 21:35:41 2003
;; MSG SIZE rcvd: 95
Anyone have any Ideas?? Why it would do this right now I am limited to 1 IP
until T1 is installed then I will have full 64 IP's. All the other domains
seem to dig correctly for correct domain names please email me off list as I
dont want to broadcast.
I love this Newsgroup it has helped me alot!!
--
Thanks,
Eric Haskins
Eric Haskins Consulting
A+,Linux+,CCNA,MCSE NT4
Next Message by Thread:
Re: How to get TEXT name for IP address on internet via command line.
Mark Eades wrote:
> I am in the process of writing a small script to analise access to our
> internet site - logs.
> I can extract the data well enough but a list of visiting IP addresses is
> not wholly useful.
> I would like, much like the NT TRACERT command to be able to use a command
> to translae the IP address to a text representation. ( I don't need the
> route )
> To date I have not found a practical way of doing this !
Do you need anything beyond a reverse lookup of the IP addresses?
Tracerouting each client's IP seems a little extreme...
- Kevin