Today I wrote a "micro" dns-server that is able to provide fake replies upon configuration (also timeouts) based on a YAML configuration (see jSPF test suite).
I needed this to have a more "functional" test for jSPF (in fact I found some bugs in dnsjava and jSPF running it) and to effectively test the "future" asynchronous SPF lookup methods. To create the micro dns server I studied dnsjava and I started up from the jnamed.java source code. "jnamed.java" is a single java file that can be found in the source distribution of dnsjava 2.0.3 and is not included in the binary library. dnsjava is distributed under the BSD license and the only comments in the file header are: // Copyright (c) 1999-2004 Brian Wellington ([EMAIL PROTECTED]) and /** @author Brian Wellington <[EMAIL PROTECTED]> */ I also refactored the code a lot for my purposes, and splitted it into multiple files. At the moment I was planning to place that stuff in the org.apache.james.jspf.dnsserver package inside the test source tree for jspf project. The "fake server" is selfcontained and in future it could be useful also for other projects that need a dnsserver to simulate specific replies (RemoteDelivery tests, SMTPServer tests and so on...). What is the correct way to manage Copyright/Licensing in a similar scenario? What should the headers look like? Where should I write that that work is based on a BSD work by Brian Wellington ? Any help is appreciated. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
