dns: add CNAME to possible search types (#1143)

This commit is contained in:
Louis Sautier 2018-09-23 17:23:56 +02:00 committed by Simon Bomm
parent 68c7e3a3c4
commit 1298a3606a
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ my %map_search_field = (
NS => 'nsdname',
A => 'address',
PTR => 'name',
CNAME => 'cname',
);
sub search {

View File

@ -167,7 +167,7 @@ Set the search value (required).
=item B<--search-type>
Set the search type. Can be: 'MX', 'SOA', 'NS', 'A' or 'PTR'.
Set the search type. Can be: 'MX', 'SOA', 'NS', 'A', 'CNAME' or 'PTR'.
'A' or 'PTR' is used by default (depends if an IP or not).
=item B<--expected-answer>