Add REST handlers for setting useDNS, maxRetry and findTime