diff --git a/src/serviceproviders/dns.js b/src/serviceproviders/dns.js index 8be6921..b07f601 100644 --- a/src/serviceproviders/dns.js +++ b/src/serviceproviders/dns.js @@ -16,6 +16,7 @@ limitations under the License. const reURI = /^dns:([a-zA-Z0-9\.\-\_]*)(?:\?(.*))?/ const processURI = (uri, opts) => { + if (!opts) { opts = {} } const match = uri.match(reURI) return {