add DNSApiManager.checkConnection()

closes issue #215