Posted to tcl by apn at Mon Sep 20 16:43:22 GMT 2010view pretty
(tcl) 85 % set tok [dns::resolve "gmail.com" -type MX] ::dns::13 (tcl) 86 % dns::status $tok ok (tcl) 87 % dns::result $tok {name gmail.com type MX class IN ttl 3233 rdlength 32 rdata {40 alt4.gmail-smtp-in.l.google.com}} {name gmail.com type MX class IN ttl 3233 rdlength 9 rdata {10 alt1.gmail-smtp-in.l.google.com}} {name gmail.com type MX class IN ttl 3233 rdlength 9 rdata {30 alt3.gmail-smtp-in.l.google.com}} {name gmail.com type MX class IN ttl 3233 rdlength 9 rdata {20 alt2.gmail-smtp-in.l.google.com}} {name gmail.com type MX class IN ttl 3233 rdlength 4 rdata {5 gmail-smtp-in.l.google.com}} (tcl) 88 % dns::cleanup $tok (tcl) 89 %