case insensitive hostname matching