Re: [TCPSend] and whois?

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22271
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:

Criticism of WebCatalog: Keep It Coming! (1998) New syntax feedback for 4.0 (2000) Converting SQL Microtime to Date and Time (2003) Error Lob.db records error message not name (1997) local IIS setup (2004) OT: javascript help (2003) Here we go again... (2006) [WriteFile] problems (1997) Re:2nd WebCatalog2 Feature Request (1996) WebCat2.0 acgi vs plugin (1997) [WebDNA] bulk e-mail (2011) [WebDNA] divisible by 1 (2011) remotely creating and populating a stock inventory db - almost there! (1999) MacOS X Server problems (2001) Running 2 two WebCatalog.acgi's (1996) Search/sort in URL Was: GuestBook example (1997) WC1.6 to WC2 date formatting (1997) action=add works with IE but not Communicator (2000) I'm having trouble using [url][interpret][math] together inlookup (1997) WebCatalog-NT?'s (1996)