Add the config options:

disable_standard_lookups (prevent lookups to non .bit/.tor addresses)
disable_ns_lookups (prevent .bit recursive NS lookups)