Update dnsreader.py

forgot to save the database on close.