1. RE: DNS'ing an IP_Address
- Posted by Chris Bensler <bensler at mailops.com> Feb 11, 2001
- 417 views
I should be more specific.. I don't want to connect to a dynamic IP address.. I simply don't want my users to have to enter in a numeric address to connect to. They should be able to enter the web address.. Like most Chat clients allow.. IE connect to Dalnet.com, not 123.4.etc.etc Chris Kat wrote: > 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 > >
2. RE: DNS'ing an IP_Address
- Posted by Kat <gertie at PELL.NET> Feb 11, 2001
- 419 views
On 11 Feb 2001, at 12:09, Chris Bensler wrote: > I should be more specific.. > > I don't want to connect to a dynamic IP address.. If it's not dynamic, then why not put the ip# into an ini or config file, so if the file exists, the user isn't prompted for it? > I simply don't want my users to have to enter in a numeric address to > connect to. They should be able to enter the web address.. Ok, still, look at the functions in WebShepard. Technically, when you type in a www.whatever.com into WebShepard, you do not connect to that, you connect to the IP# after WebShepard DNS's it. > Like most Chat clients allow.. Why not use an existing chat client? While Eu is nice, and i applaud your efforts, and i'd like to see a mirc-like client written in Eu, the fact is that mirc already exists, and if you place an ircd on the eu.net, mirc will connect *now*, with no code written at all. If you should wish to run Eu scripts, it's easy as pie to connect an eu.exe to mirc, or one of the several Eu interpreters written in Eu, or maybe David's Py. Mirc runs an exe, several threads, and interprets code written in mirc language. It's got a huge leadtime on whatever you write in Eu, and a huge installed userbase. Btw, did you know you can write an ircd in mirc, the irc client? but it is slow as hell, because it is interpreted, slowly, so it would be limited to a dozen users at once. > IE connect to Dalnet.com, not 123.4.etc.etc You don't connect to dalnet.com, altho if they put a ircd on that name, you could,,, but for dalnet you'd connect to the generic Dalnet: "/server irc.dal.net 7000", or whatever specific server you'd like, such as "twisted.dal.net". Mirc does the dns like WebShepard does, and then connects to that ip#. In fact, i bet tonite i could come up with a patch for WebShepard that makes it look like the old telnet clients, or simply tell Tiggr to connect to an Eu.net rather than her mirc gui frontend. For a irc server or client, check out "hackserv" in the Eu archives too. Did you look at Hawke`'s Eu_Server in the archives yet? Kat > > Chris > > Kat wrote: > > 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 > > > > > >
3. RE: DNS'ing an IP_Address
- Posted by Chris Bensler <bensler at mailops.com> Feb 11, 2001
- 399 views
I'm writing this Chat server/client for my own benifit.. Don't mean to be selfish, but it's a learning curve.. Can't learn if I don't try.. If it's good enough, I'll prolly release it, if only for a demo of how to use euLibnet.. I do like mIRC, and I DO use it, in fact I had learned a BIT of mIRC script last year,even wrote some of my own.. Stopped learning it though, after I realized that there isn't much market for it.. But I still want to code my own. Prolly will be modelled after mIRC considering it's the best there is.. Kat wrote: > If it's not dynamic, then why not put the ip# into an ini or config > file, so if the file exists, > the user isn't prompted for it? > I'm hoping I'll be able to connect it to IRC servers, the user would choose which one.. <SNIP> > Ok, still, look at the functions in WebShepard. Technically, when you > type in a > www.whatever.com into WebShepard, you do not connect to that, you > connect to the > IP# after WebShepard DNS's it. Will do, this is what I was asking for.. TY > Why not use an existing chat client? While Eu is nice, and i applaud > your efforts, and > i'd like to see a mirc-like client written in Eu, the fact is that mirc > already exists, and if > you place an ircd on the eu.net, mirc will connect *now*, with no code > written at all. > I am by no means, trying to surpass or even remotely come close to accomplishing what mirc does.. sure would be nice though! :) > You don't connect to dalnet.com, altho if they put a ircd on that name, > you could,,, but > for dalnet you'd connect to the generic Dalnet: "/server irc.dal.net > 7000", or whatever > specific server you'd like, such as "twisted.dal.net". That's what I meant.. :) Chris
4. RE: DNS'ing an IP_Address
- Posted by Ray Smith <smithr at ix.net.au> Feb 11, 2001
- 417 views
Hi Chris, There is a config file in Libnet you can setup with the address of your dns nameserver. For general usage this is pretty limited, since it will be difficult for general users to find out what the nameserver address is so they can change the config file. It is also a "blocked" call ... meaning everything stops while libnet calls the dns server to determine the ip address. So at this stage euLibnet doesn't provide any good solutions. As Kat said, if you know the static address of the computers you want to connect to you can give them nick names (or even the url addresses) and convert them back to ip addresses. If your after dynamic addresses then follow Kats ideas. Ray Smith Chris Bensler wrote: > I'm writing this Chat server/client for my own benifit.. > Don't mean to be selfish, but it's a learning curve.. > Can't learn if I don't try.. > If it's good enough, I'll prolly release it, if only for a demo of how > to use euLibnet.. > > I do like mIRC, and I DO use it, in fact I had learned a BIT of mIRC > script last year,even wrote some of my own.. > Stopped learning it though, after I realized that there isn't much > market for it.. > But I still want to code my own. Prolly will be modelled after mIRC > considering it's the best there is.. > > > Kat wrote: > > If it's not dynamic, then why not put the ip# into an ini or config > > file, so if the file exists, > > the user isn't prompted for it? > > > > I'm hoping I'll be able to connect it to IRC servers, the user would > choose which one.. > > <SNIP> > > > Ok, still, look at the functions in WebShepard. Technically, when you > > type in a > > www.whatever.com into WebShepard, you do not connect to that, you > > connect to the > > IP# after WebShepard DNS's it. > > Will do, this is what I was asking for.. TY > > > Why not use an existing chat client? While Eu is nice, and i applaud > > your efforts, and > > i'd like to see a mirc-like client written in Eu, the fact is that mirc > > already exists, and if > > you place an ircd on the eu.net, mirc will connect *now*, with no code > > written at all. > > > > I am by no means, trying to surpass or even remotely come close to > accomplishing what mirc does.. sure would be nice though! :) > > > You don't connect to dalnet.com, altho if they put a ircd on that name, > > you could,,, but > > for dalnet you'd connect to the generic Dalnet: "/server irc.dal.net > > 7000", or whatever > > specific server you'd like, such as "twisted.dal.net". > > That's what I meant.. :) > > Chris Ray Smith http;//www.geocities.com/ray_223
5. RE: DNS'ing an IP_Address
- Posted by fernando at RXP.COM Feb 11, 2001
- 382 views
------=_NextPart_000_0005_01C09473.727E3EC0 charset="iso-8859-1" I wonder if there is a way to use a “ping” command like in dos. I know that in dos batch files I can do the following at the command prompt: ping cnn.com –n 1 > c:\result.txt The “-n” part just means to ping it once. Then I just parse the “result.txt” file for the IP address. If there is nothing equivalent to that in EU then maybe make a batch file and have the EU program execute it and parse the results. Maybe I’m stupid and you should just ignore me. Fernando Pinging cnn is useless since they protect themselves from denial of service attacks but it still returns the ip address. -----Original Message----- From: Chris Bensler [mailto:bensler at mailops.com] Sent: Sunday, February 11, 2001 4:24 PM To: EUforum at topica.com Subject: RE: DNS'ing an IP_Address I'm writing this Chat server/client for my own benifit.. Don't mean to be selfish, but it's a learning curve.. Can't learn if I don't try.. If it's good enough, I'll prolly release it, if only for a demo of how to use euLibnet.. I do like mIRC, and I DO use it, in fact I had learned a BIT of mIRC script last year,even wrote some of my own.. Stopped learning it though, after I realized that there isn't much market for it.. But I still want to code my own. Prolly will be modelled after mIRC considering it's the best there is.. Kat wrote: > If it's not dynamic, then why not put the ip# into an ini or config > file, so if the file exists, > the user isn't prompted for it? > I'm hoping I'll be able to connect it to IRC servers, the user would choose which one.. <SNIP> > Ok, still, look at the functions in WebShepard. Technically, when you > type in a > www.whatever.com into WebShepard, you do not connect to that, you > connect to the > IP# after WebShepard DNS's it. Will do, this is what I was asking for.. TY > Why not use an existing chat client? While Eu is nice, and i applaud > your efforts, and > i'd like to see a mirc-like client written in Eu, the fact is that mirc > already exists, and if > you place an ircd on the eu.net, mirc will connect *now*, with no code > written at all. > I am by no means, trying to surpass or even remotely come close to accomplishing what mirc does.. sure would be nice though! :) > You don't connect to dalnet.com, altho if they put a ircd on that name, > you could,,, but > for dalnet you'd connect to the generic Dalnet: "/server irc.dal.net > 7000", or whatever > specific server you'd like, such as "twisted.dal.net". That's what I meant.. :) Chris ------=_NextPart_000_0005_01C09473.727E3EC0 charset="iso-8859-1" <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta name=3D"Microsoft Theme 2.00" content=3D"test.htm 011"> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <meta name=3DProgId content=3DWord.Document> <meta name=3DGenerator content=3D"Microsoft Word 9"> <meta name=3DOriginator content=3D"Microsoft Word 9"> <link rel=3DFile-List href=3D"cid:filelist.xml at 01C09473.71F97E60"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> </w:WordDocument> </xml><![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:16792199 0 0 0 65791 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} p {margin-right:0in; mso-margin-top-alt:auto; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} span.EmailStyle15 {mso-style-type:personal-compose; color:black;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple = style=3D'tab-interval:.5in'> <div class=3DSection1> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>I wonder if = there is a way to use a “ping” command like in dos. I know that in dos = batch files I can do the following at the command prompt:<o:p></o:p></span></font></span></p> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><![if = <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>ping cnn.com = –n 1 > c:\result.txt<o:p></o:p></span></font></span></p> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><![if = <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>The = “-n” part just means to ping it once.<o:p></o:p></span></font></span></p> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><![if = <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Then I just = parse the “result.txt” file for the IP address. If there is nothing equivalent to that in EU = then maybe make a batch file and have the EU program execute it and parse the = results.<o:p></o:p></span></font></span></p> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><![if = <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Maybe = I’m stupid and you should just ignore me. <o:p></o:p></span></font></span></p> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><![if = <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span = <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><![if = <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Pinging cnn is = useless since they protect themselves from denial of service attacks but it = still returns the ip address.<o:p></o:p></span></font></span></p> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><![if = <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><![if = <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 = color=3Dblack face=3DTahoma><span = Message-----<br> <b><span style=3D'font-weight:bold'>From:</span></b> Chris Bensler [mailto:bensler at mailops.com]<br> <b><span style=3D'font-weight:bold'>Sent:</span></b> Sunday, February = 11, 2001 4:24 PM<br> <b><span style=3D'font-weight:bold'>To:</span></b> = EUforum at topica.com<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> RE: DNS'ing an = IP_Address</span></font><font color=3Dblack><span = /p> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span = style=3D'font-size:12.0pt;color:black'><![if = color=3Dblack><span = /p> <p style=3D'margin-bottom:12.0pt;margin-left:.5in'><font size=3D2 = color=3Dblack face=3D"Times New Roman"><span = style=3D'font-size:10.0pt;color:black'>I'm writing this Chat server/client for my own benifit..<br> Don't mean to be selfish, but it's a learning curve..<br> Can't learn if I don't try..<br> If it's good enough, I'll prolly release it, if only for a demo of = how<br> to use euLibnet..<br> <br> I do like mIRC, and I DO use it, in fact I had learned a BIT of mIRC<br> script last year,even wrote some of my own..<br> Stopped learning it though, after I realized that there isn't much<br> market for it..<br> But I still want to code my own. Prolly will be modelled after mIRC<br> considering it's the best there is..<br> <br> <br> Kat wrote:<br> > If it's not dynamic, then why not put the ip# into an ini or = config<br> > file, so if the file exists,<br> > the user isn't prompted for it?<br> ><br> <br> I'm hoping I'll be able to connect it to IRC servers, the user would<br> choose which one..<br> <br> <SNIP><br> <br> > Ok, still, look at the functions in WebShepard. Technically, when = you<br> > type in a<br> > www.whatever.com into WebShepard, you do not connect to that, = you<br> > connect to the<br> > IP# after WebShepard DNS's it.<br> <br> Will do, this is what I was asking for.. TY<br> <br> > Why not use an existing chat client? While Eu is nice, and i = applaud<br> > your efforts, and<br> > i'd like to see a mirc-like client written in Eu, the fact is that = mirc<br> > already exists, and if<br> > you place an ircd on the eu.net, mirc will connect *now*, with no = code<br> > written at all.<br> ><br> <br> I am by no means, trying to surpass or even remotely come close to<br> accomplishing what mirc does.. sure would be nice though! :)<br> <br> > You don't connect to dalnet.com, altho if they put a ircd on that = name,<br> > you could,,, but<br> > for dalnet you'd connect to the generic Dalnet: "/server = irc.dal.net<br> > 7000", or whatever<br> > specific server you'd like, such as = "twisted.dal.net".<br> <br> That's what I meant.. :)<br> <br> Chris<br> <br> color=3Dblack><span = /p> <p class=3DMsoNormal><span class=3DEmailStyle15><font size=3D3 = color=3Dblack face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><![if = </div> </html> ------=_NextPart_000_0005_01C09473.727E3EC0--