Revert "linux: build dns resolver as module"

This reverts commit 867882f5b6621f10275bb864300a9c1642dff61a.