tools: Add stacktrace debugging to DnsSrvLocator

Change-Id: Ibd0ab8a31dc26b96b5f8731dfe288642a1a0a91b
Signed-off-by: Yair Zaslavsky <yzaslavs@redhat.com>