Re: [TCPSend] and whois?

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22272
interpreted = N
texte = On 1/3/1999 5:24 pm, Charlie Romero so noted...>I would like to try and use WC to do domain name queries has anybody tried >it yet using [TCPConnect] > >Does anybody know what the [TCPSend] string would look like to query via >whois, the internic domain name database? > >[TCPConnect host=rs.internic.net][TCPSend]What goes >here?[/TCPSend][/TCPConnect]The whois server command syntax is amazingly basic (if you want the nitty-gritty, a copy of the RFC is at http://andrew2.andrew.cmu.edu/rfc/rfc812.html) -- it's just a question of which port to talk to. The following lines do the trick:[TCPConnect host=internic.net&port=43] [TCPSend]domain.com[unURL]%0D%0#001#A[/unURL] [/TCPSend][/TCPConnect]Of course, you'd probably want to replace domain.com with some form variable that you pass to the page ; )Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [TCPSend] and whois? (Charlie Romero 1999)
  2. Re: [TCPSend] and whois? (Peter Ostry 1999)
  3. Re: [TCPSend] and whois? (Rob Marquardt 1999)
  4. Re: [TCPSend] and whois? (Rob Marquardt 1999)
  5. Re: [TCPSend] and whois? (Rob Marquardt 1999)
  6. Re: [TCPSend] and whois? (The Mooseman 1999)
  7. [TCPSend] and whois? (Charlie Romero 1999)
On 1/3/1999 5:24 pm, Charlie Romero so noted...>I would like to try and use WC to do domain name queries has anybody tried >it yet using [tcpconnect] > >Does anybody know what the [tcpsend] string would look like to query via >whois, the internic domain name database? > >[TCPConnect host=rs.internic.net][tcpsend]What goes >here?[/TCPSend][/TCPConnect]The whois server command syntax is amazingly basic (if you want the nitty-gritty, a copy of the RFC is at http://andrew2.andrew.cmu.edu/rfc/rfc812.html) -- it's just a question of which port to talk to. The following lines do the trick:[TCPConnect host=internic.net&port=43] [tcpsend]domain.com[unurl]%0D%0#001#A[/unURL] [/TCPSend][/TCPConnect]Of course, you'd probably want to replace domain.com with some form variable that you pass to the page ; )Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2 several catalogs? (1997) [WebDNA] WebDNA Emailer problems / output / debug (2014) weird [hideif] happenings maybe . . . (2003) sorting and summarizing (1998) How flexible is Shipping? (1997) Just Testing (1997) [WebDNA] jQuery validation and webdna (2015) Showif -what am I missing??? (1999) Permision deny. (2005) Is QuidProQuo dead? (1998) Shopping Cart w/Multiple Databases (1998) cr/cr/lf under WebSite ($WebCat.exe) confirmed (2000) NT Manual (1997) TaxTotal Problem (1997) This list needs a digest: rant, rave... (1997) [OT] md5 or sha-1 on OSX (2007) Formatting a .txt file (1998) Looking up two prices in database? (1997) question: writing files textb in webmerch (1997) URL for Discussion Archive (1997)