3 Commits

Author SHA1 Message Date
Felipe Wilhelms Damasio
17ecff7a3b [DNSAPI/BUG] Fixes naive top domain detection.
In order to properly detect the top domain, lets query the NS through
the SOA record and get the top domain being validated.

This fixes incorrect top domain detection under TLDs such as 'com.br',
'co.uk', etc.

This solution could be used for other DNS APIs as well.
2019-08-09 23:01:43 -03:00
csmk
f589a1d245
Fix format: use double quote to prevent globbing and word splitting 2017-03-07 22:21:22 +09:00
csmk
9c87a5890d
Add support for Knot DNS API
The script is actually an adapted version of the `dns_nsupdate.sh` script,
as the `knsupdate` utility is quite similar to `nsupdate`.
2017-03-05 22:18:31 +09:00