public DNSRequest()

in resolver/src/main/java/org/apache/james/jspf/core/DNSRequest.java [49:59]


    public DNSRequest(final String hostname, final int recordType) throws NoneException {
        if (recordType == MX || recordType == A || recordType == AAAA) {
            try {
                Name.fromString(hostname);
            } catch (TextParseException e) {
                throw new NoneException(e.getMessage());
            }
        }
        this.hostname = hostname;
        this.recordType = recordType;
    }