mirror of
https://github.com/samba-team/samba.git
synced 2025-07-29 15:42:04 +03:00
samba-tool dns query: Allow '*' in names
As DNS wild cards are now supported we need to allow '*' characters in the domain names. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> BUG: https://bugzilla.samba.org/show_bug.cgi?id=12952
This commit is contained in:
committed by
Garming Sam
parent
3d2bd849f1
commit
29b3a2b0d1
@ -819,7 +819,8 @@ class cmd_query(Command):
|
||||
record_type = dns_type_flag(rtype)
|
||||
|
||||
if name.find('*') != -1:
|
||||
raise CommandError('Wildcard searches not supported. To dump entire zone use "@"')
|
||||
self.outf.write('use "@" to dump entire domain, looking up %s\n' %
|
||||
name)
|
||||
|
||||
select_flags = 0
|
||||
if authority:
|
||||
|
Reference in New Issue
Block a user