diff options
Diffstat (limited to 'python/samba/netcmd/dns.py')
-rw-r--r-- | python/samba/netcmd/dns.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/samba/netcmd/dns.py b/python/samba/netcmd/dns.py index 137cd989f0c..de0c94d5166 100644 --- a/python/samba/netcmd/dns.py +++ b/python/samba/netcmd/dns.py @@ -955,6 +955,9 @@ class cmd_query(Command): versionopts=None): record_type = dns_type_flag(rtype) + if name.find('*') != -1: + raise CommandError('Wildcard searches not supported. To dump entire zone use "@"') + select_flags = 0 if authority: select_flags |= dnsserver.DNS_RPC_VIEW_AUTHORITY_DATA |