You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey @andrzej-woof the v2 of the library has some basic domain checking now. v2 comes with some breaking changes too, so check out the full change log too.
Maybe this is helpful if you're still using it
passing values that are not a valid domain cause various errors to be returned e.g.:
google..com
->dig: 'google..com' is not a legal name (empty label)
await dnsRecords.getDnsRecords([null, 'google.com'], 'MX')
-> Error: ;; Warning, extra type optionI assume there might be more. This is a bit painful when dealing with large arrays since the entire batch is rejected if one entry is invalid.
The text was updated successfully, but these errors were encountered: