title: Simple *Authoritative DNS Server* in Java
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>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).</p>
  
  <p>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.</p>
  
  <p>However, that is only feasible if what we copy from is simple enough. Otherwise,, it could turn out to be a waste of time</p>