Cool, that's a useful feature. Though it may timeout the wallet if there ends up being a lot of domain names registered!
Guess that should be no problem for your wallet; even if you register a few thousand domain names with it.

If there are many thousand names active in the blockchain, then you may need to adjust the name_scan parameters to find the information you need:
> help name_scan
name_scan [<start-name>] [<max-returned>]
scan all names, starting at start-name and returning a maximum number of entries (default 500)
If you like to lookup a special name syntax, you may also use:
> help name_filter
name_filter [[[[[regexp] maxage=36000] from=0] nb=0] stat]
scan and filter names
[regexp] : apply [regexp] on names, empty means all names
[maxage] : look in last [maxage] blocks
[from] : show results from number [from]
[nb] : show [nb] results, 0 means all
[stats] : show some stats instead of results
name_filter "" 5 # list names updated in last 5 blocks
name_filter "^id/" # list all names from the "id" namespace
name_filter "^id/" 36000 0 0 stat # display stats (number of names) on active names from the "id" namespace
like i.e.
name_filter d/NameToSearch$