Added functionality to write dns dict to disk

to have backup in case of dns failure / timeout / etc.