added case-insensitive matching of domains