package leigh.stack.dnsd;

import org.xbill.DNS.Message;

import java.io.IOException;

public interface NameStore {
    /**
     * Perform a query against this store. If the request does not match a name, return <code>null</code>.
     */
    Message doQuery(Message request) throws IOException;
}
