public ResolveTaskFactory(Ehcache cache, AbstractTaskKeeper keeper, Configuration configuration) throws TextParseException {
this.cache = cache;
this.keeper = keeper;
Backend jgroups = new JGroupsBackend();
this.backends.put(Type.A, jgroups);
this.backends.put(Type.AAAA, jgroups);
MXRecord mx = new MXRecord(
new Name("example.com."), DClass.IN, 30,
1, new Name(configuration.getMX()));