Make diag_logs_resolver shortcuts smart

Make them understand if dnsmasq is enabled, or else use unbound forwarder shortcuts.