Added tests and cassettes for DNS API