RE: DNS'ing an IP_Address
- Posted by Ray Smith <smithr at ix.net.au> Feb 11, 2001
- 416 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