X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/551ff40f1e8eab858f07ea0c0d5217da70837751..a6536d8becc65c37fbeab7bc0793c6dd55bea977:/client/adnstest.c diff --git a/client/adnstest.c b/client/adnstest.c index b4c125a..d8003dc 100644 --- a/client/adnstest.c +++ b/client/adnstest.c @@ -45,6 +45,7 @@ static const adns_rrtype defaulttypes[]= { adns_r_addr, adns_r_ns, adns_r_mx, + adns_r_ptr, adns_r_none }; @@ -73,8 +74,8 @@ int main(int argc, char *const *argv) { for (cp= argv[1]+1, ti=0; ti,...] [ ...]",stderr); + if (ch != ',') { + fputs("usage: dtest [:,...] [ ...]\n",stderr); exit(4); } cp++;