Rewrote the server, added NS and SOA support