How do I get all records from a DNS server? For example, I want to host a local DNS server so that I would get faster DNS access (I know about the huge size). How do I download the hosts file from a DNS server?