Adding functionality for dns resolver
Updated header files to return void for most functions. Included missing ifdef guards
dns resolver working, fix buggy ui