fix(dns): nil callbacks

Nil callbacks in the DNS library are crashers.