Add DNS lookup API
Update debug tool
Fix a path broken with ba3ae2bca5681be1f0ffd8933f0a8f719fa58fe6