mIRC Home    About    Download    Register    News    Help

Print Thread
#272642 18/05/24 04:05 AM
Joined: May 2006
Posts: 20
N
nelgin Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2006
Posts: 20
I would like to see some options added to /dns to make it a little better.

Add -s to specify which DNS server to use. For scripts that want to do RBL or dronebl lookups, this would be useful. Impossible to do currently.

-t specifies what type of result to return, whether it's an A record AAAA, PTR, etc or -t ANY (default)

-m (maybe? method of connection) u or t for UDP or TCP

Finally, return results to a variable, such as $dns or something without having to go through ON DNS.

The only way to achieve any of this currently would be to write my own dns client in mirc which seems a bit overkill, or run an external program which isn't portable.

nelgin #272644 18/05/24 05:53 PM
Joined: Jul 2006
Posts: 4,186
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,186
Quote
Finally, return results to a variable, such as $dns or something without having to go through ON DNS.
note that , although I would like $urlget to be able to do the job without requiring a callback and do the job from the urlget parameter, the event is there to prevent /dns from freezing mirc while waiting for the result.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard