Revert "linux: build dns resolver as module"

This reverts commit 499a7aa342e6f32081be4ad57de025a020f0ef11.