knownnodes.dat is the configuration file, which contains a list of IP addresses and ports which run bitmessage. It sometimes helps to delete this file in case bitmessage wont connect. It is stored together with keys.dat and messages.dat in the same folder.
The file can be opened in a text editor and can even be modified. The format is described in the python docs