2 USING: kernel sequences random accessors dns ;
8 ! Generally useful, but particularly when running a forwarding,
9 ! caching, nameserver on localhost with multiple Factor instances
12 : name->ip ( name -- ip )
16 dup rcode>> NAME-ERROR =
17 [ message-query name>> name-error ]
18 [ answer-section>> [ type>> A = ] filter random rdata>> ]