On v2.2 we got visited stars cache feature which lists all the visited star systems from your CMDR locally in your Elite client. See details from Frontier Forums The Visited Stars cache topic.
The location of the file in your hard drive is:
C:\Users\YOURNAME\AppData\Local\Frontier Developments\Elite Dangerous\NUMBERS-HERE\ImportStars.txt
One star system name per line, then start the game, it will lookup the names and merge them into the cache. (If you have many thousands of star names in the file, it may take a few minutes to process).
While Elite is running it creates RecentlyVisitedStars.dat file.
You must have hyper jumped once in v2.2 before VisitedStarsCache.dat file is created. It doesnt matter if you have jumped in your Elite lifetime for 10,000 times, you must hyper jump once after upgrading to v2.2.
When importing is done, it will rename the txt to "ImportStars.txt.imported" file name and you'll get notification on the comms panel.
There will be an error message about unrecognised star names in the network log (netLog): you won't need to turn on any options for it.