Fix DNS host filter

The host filtering at command line did not work, throwing an error stating that 'record' is an invalid key. This pull corrects this issue and expands the functionality so that it can use asterisk-based wildcards for better matching, which will be more future compatible when filtering is restored to the API.