In SonicOS 5.8 and above, when creating a Match Object for CFS Allow/Forbidden list, users can import the names of the domains from a file (text file). Each entry in the file should be separated by a line. The maximum size of the file should be 8192 bytes.
Login to the SonicWall Mangement GUI
Navigate to Firewall | Match Objects
Click on Add New Match Object
Enter a name for the Match Object under Object Name
Select CFS Allow/Forbidden List under Match Object Type