fix dns memory leak, fix readme