Code:
on *:INPUT:*: { if ($deltok($1,0,47) == dns) { echo -s $2- } }


The only way i found =P