netcmd/dns: Catch wildcard patterns when querying for name