dns: add CNAME to possible search types (#1143)
This commit is contained in:
parent
68c7e3a3c4
commit
1298a3606a
|
@ -32,6 +32,7 @@ my %map_search_field = (
|
||||||
NS => 'nsdname',
|
NS => 'nsdname',
|
||||||
A => 'address',
|
A => 'address',
|
||||||
PTR => 'name',
|
PTR => 'name',
|
||||||
|
CNAME => 'cname',
|
||||||
);
|
);
|
||||||
|
|
||||||
sub search {
|
sub search {
|
||||||
|
|
|
@ -167,7 +167,7 @@ Set the search value (required).
|
||||||
|
|
||||||
=item B<--search-type>
|
=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).
|
'A' or 'PTR' is used by default (depends if an IP or not).
|
||||||
|
|
||||||
=item B<--expected-answer>
|
=item B<--expected-answer>
|
||||||
|
|
Loading…
Reference in New Issue