Alex Rivera | Logout

Simple *Authoritative DNS Server* in Java

Asked 2011-02-11T20:22:32.837
12

Is there an already written Java DNS Server that only implements authoritative responses. I would like to take the source code and move it into a DNS server we will be developing that will use custom rule sets to decide what TTL to use and what IP address to publish.

The server will not be a caching server. It will only return authoritative results and only be published on the WHOIS record for the domains. It will never be called directly.

The server will have to publish MX records, A records and SPF/TXT records. The plan is to use DNS to assist in load balancing among gateway-servers on multiple locations (we are aware that DNS has a short reach in this area). Also it will cease to publish IP addesses of gateway-servers when they go down (on purpose or on accident) (granted, DNS will only be able to help during extended outages).

We will write the logic for all this ourselves.. but I would very much like to start with a DNS server that has been through a little testing instead of starting from scratch.

However, that is only feasible if what we copy from is simple enough. Otherwise,, it could turn out to be a waste of time

Edit
Report

1 Answer

3

http://www.xbill.org/dnsjava/

Unfortunately, the documentation states "jnamed should not be used for production, and should probably not be used for testing. If the above documentation is not enough, please do not ask for more, because it really should not be used."

I'm not aware of any better alternatives, however.

answered 2011-02-11T20:39:05.987

Your Answer