My set of websites that I visit regularly is not very large. In order to increase privacy, I'd like to visit these sites directly without the need of a remote DNS resolve each time I visit it, but I also don't want to remember IP addresses.
Is it possible to automatically store the DNS entry locally and use it the next time I visit the site again, and only fallback to my ISP's DNS server if I don't have an entry on my local "DNS server"?
I'm especially interested in solutions for Windows (and Firefox if this should matter), but Linux answers would be OK, too (since I'm using it more often lately). I'd also be able to use a Raspberry Pi, if this leads to more elegant or robust solutions/answers.
To sum it up: First time visit of website -> use ISP DNS -> Store it on some local DNS database (same computer or local network) -> second visit -> use this local DNS database (+privacy and +speed).