Add support for top-level domain whitelist and minimum domain atoms

Signed-off-by: Eli Skeggs <skeggse@gmail.com>