[PATCH] resolve: allow setting default DNS resolver at compile time