Added basic DNS lookup functionality using local resolver