简体   繁体   English

适用于Windows的C / C ++中的DNS服务器

[英]DNS Server in c/c++ for windows

Is there any DNS Server written in C/C++ which can be compiled using Visual studio on Windows? 是否有任何用C / C ++编写的DNS服务器都可以使用Windows上的Visual Studio进行编译? I have found many DNS servers, but all of them seem to run only on Linux or require a MinGW compiler. 我发现了许多DNS服务器,但它们似乎都只能在Linux上运行或需要MinGW编译器。

This tutorial uses the Visual Studio compiler to build the BIND dns server, but from the command line. 本教程使用Visual Studio编译器通过命令行来构建BIND dns服务器。 It does also explain how to correctly compile OpenSSL, which can be quite a pain. 它还确实说明了如何正确编译OpenSSL,这可能会很麻烦。

如果没有这样的项目,那么将打算在MinGW中构建的项目移植到Visual Studio不会太困难(尽管很艰难)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM