fixed EDNS support and added better defalts to config