added DNSstuff func