开发者

Simple DNS Server API

Is there some API that I can use to build a simple DNS serv开发者_StackOverflow社区er, preferably in Java? All I want my DNS server to do is answer with the same IP address for any request.


The DNS protocol is fairly simple, all you need is the ability to catch UDP requests. Once you've captured the request you would then use the appropriate response, or iterative/recursive methods to get unfamilar DNS records. [That requires prior knowledge of DNS servers]

RFC DNS

About DNS

JDNSS may be what you are looking for. It is hosted on SF and it is opensource.


If all you need is a DNS server returning the same IP address to every request, you can use Simple DNS Plus with the "Fixed IP Address" plug-in. See http://www.simpledns.com/kb.aspx?kbid=1261


If you are open to C/C++ libraries, take a look at ldns and libunbound; both from NlNetLabs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜