1. DNS'ing an IP_Address

I'm working on a chat program..
But I'm wondering how I can get the IP address given a Web address..

IE..

some.site.com = 123.4.5.6

if someone enters a web address, how do I convert it to the IP? Or do I 
need to..

Specifically, this pertains to eulibnet..


Chris

new topic     » topic index » view message » categorize

2. Re: DNS'ing an IP_Address

On 11 Feb 2001, at 10:17, Chris Bensler wrote:

> I'm working on a chat program..
> But I'm wondering how I can get the IP address given a Web address..
> 
> IE..
> 
> some.site.com = 123.4.5.6
> 
> if someone enters a web address, how do I convert it to the IP? Or do I 
> need to..

Well, you could call the routines in WebShepard (in archives, for windoze), use
mirc /dns (like i
do most of the time), or use NSI lookup (at http://www.networksolutions.com/cgi-
bin/whois/whois) which will give you the ip number range given to that domain. 

> Specifically, this pertains to eulibnet..

What is that again? And why would it want to connect to a dynamic ip http web
address? If
you have a domain registered, the ip# will be static as long as the host doesn't
change. Even
then, if you have a redirector as the primary ip#, such as a web addess at xoom
or whereever,
the chat client can pick up the correct ip# there and connect to it, the
redirect can be coded
any number of ways.

Kat

new topic     » goto parent     » topic index » view message » categorize

3. Re: DNS'ing an IP_Address

Return-Path: <patrat at rat-software.com>
20:03:10 -0000
20:03:10 -0000
  by inmta008.topica.com with SMTP; 14 Feb 2001
20:03:10 -0000
(helo=mail18.svr.pol.co.uk)
	by mail12.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 14T88r-00072U-00
	for EUforum at topica.com; Wed, 14 Feb 2001 20:03:09
+0000
([62.137.132.222] helo=patrat)
	by mail18.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 14T88q-0006mn-00
	for EUforum at topica.com; Wed, 14 Feb 2001 20:03:08
+0000
In-reply-To:

References:

boundary="----------BE12BFDF133E5"

------------BE12BFDF133E5

> I'm working on a chat program..
> But I'm wondering how I can get the IP address
given a Web address..
>
> IE..
>
> some.site.com = 123.4.5.6
>
> if someone enters a web address, how do I convert
it to the IP? Or do I 
> need to..
>
> Specifically, this pertains to eulibnet..
>
>
> Chris

Hi,
Sorry this reply is a little late, I've not been
reading this list for
a couple of days and I'm just catching up :)

I've attached dns.ew which contains the function
dns_DNSToIP which
will return the IP address (as a string) of the
domain passed to it.

Example:

include dns.ew
puts(1,dns_DNSToIP("irc.dal.net"))

Hope it's usefull :)

PS: If anyone reading this throught the web
interface wants a copy
let me know and I'll email it to you directly

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying
------------BE12BFDF133E5
name="dns.ew"

new topic     » goto parent     » topic index » view message » categorize

4. Re: DNS'ing an IP_Address

Return-Path: <patrat at rat-software.com>
20:03:10 -0000
20:03:10 -0000
  by inmta008.topica.com with SMTP; 14 Feb 2001
20:03:10 -0000
(helo=mail18.svr.pol.co.uk)
	by mail12.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 14T88r-00072U-00
	for EUforum at topica.com; Wed, 14 Feb 2001 20:03:09
+0000
([62.137.132.222] helo=patrat)
	by mail18.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 14T88q-0006mn-00
	for EUforum at topica.com; Wed, 14 Feb 2001 20:03:08
+0000
In-reply-To:

References:

boundary="----------BE12BFDF133E5"

------------BE12BFDF133E5

> I'm working on a chat program..
> But I'm wondering how I can get the IP address
given a Web address..
>
> IE..
>
> some.site.com = 123.4.5.6
>
> if someone enters a web address, how do I convert
it to the IP? Or do I 
> need to..
>
> Specifically, this pertains to eulibnet..
>
>
> Chris

Hi,
Sorry this reply is a little late, I've not been
reading this list for
a couple of days and I'm just catching up :)

I've attached dns.ew which contains the function
dns_DNSToIP which
will return the IP address (as a string) of the
domain passed to it.

Example:

include dns.ew
puts(1,dns_DNSToIP("irc.dal.net"))

Hope it's usefull :)

PS: If anyone reading this throught the web
interface wants a copy
let me know and I'll email it to you directly

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying
------------BE12BFDF133E5
name="dns.ew"

new topic     » goto parent     » topic index » view message » categorize

5. Re: DNS'ing an IP_Address

Looks like something wrong with Topica: 
Now I'm getting 2 copies of most messages, and they have
all the headers attached, like this one from Thomas Parslow to the 
list: Also, the attachments aren't attached, but the base64 encoded 
stuff appears at the bottom of the message.

Anyone else getting this?

Irv
> <0.1700008810.578055860-212058698-982180992 at topica.com>
> X-Topica-Loop: 1700008810
> Return-Path: <patrat at rat-software.com>
> Received: (qmail 7644 invoked by alias); 14 Feb 2001
> 20:03:10 -0000
> Received: (qmail 7639 invoked by uid 0); 14 Feb 2001
> 20:03:10 -0000
> Received: from mail12.svr.pol.co.uk (195.92.193.215)
>   by inmta008.topica.com with SMTP; 14 Feb 2001
> 20:03:10 -0000
> Received: from [195.92.67.23]
> (helo=mail18.svr.pol.co.uk)
etc....etc.... etc. for many lines.

new topic     » goto parent     » topic index » view message » categorize

6. Re: DNS'ing an IP_Address

Irv Mullins writes:
> Looks like something wrong with Topica: 
> Now I'm getting 2 copies of most messages, 
> and they have all the headers attached, like this 
> one from Thomas Parslow to the list: 

I haven't figured out the right way to 
handle attachments while moderating.
I sent a message to topica about it.
You got two copies of Parslow's message because
I sent it twice. I was trying an experiment.

Until we figure it out, I would recommend
in-lining any small programs etc. rather than
attaching them.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

7. Re: DNS'ing an IP_Address

> Looks like something wrong with Topica:
> Now I'm getting 2 copies of most messages, and they have
> all the headers attached, like this one from Thomas Parslow to the 
> list: Also, the attachments aren't attached, but the base64 encoded 
> stuff appears at the bottom of the message.
>
> Anyone else getting this?

Seems that everyones getting this prob

I've uploaded dns.ew to http://www.rat-software.com/dns.ew

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu