Many pieces of popculture (like assassins creed or the aboleths in dungeons and dragons) use the concept of a genetic memory. How realistic is this concept?
In particular, I am interested in cephalopods or similar animals. When discussion cephalopod civilizations, many people criticize the idea, because the parents do not form close bonds to their offspring and die before they could teach them anything.
Cephalopods rely on having many babies (r-selection), because they lack any real ways to defend themselves.
Cephalopods are also known for their unique way of evolution through changing their mRNA.
Could a species exist, that passes off knowledge to the next generation directly, by inheriting not a "blank" brain, but basically a copy of the brain of the mother. The individual brain structure would be coded in the DNA of the animal.
Of course, learning and memory would eventually be a problem, but the animal could forget knowledge either after a few generations, or just forget unused knowledge, just like humans do.
A species like that could learn from previous generations without giving up r-selection, or the unique reproduction of cephalopods (that is, dying after giving birth).
How realistic is this concept? Could it evolve naturally? If not, could we eventually create a being that has this ability artificially (through genetic modification)?
Edit:
Most structures in the brain are already fixed before birth (I assume through the genome). For example, the structures that let us see or control basic movements or instincts. So structures can be coded genetically. The question really is, whether structures can be coded while the organism is still alive, so that it can give that modified genome to its offspring.