util: Add DNS resolver utility class

refs: #1918

Change-Id: Ia393498febfb8e3a7473d5390ba6a378be71f412