You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by "alan.gerhard" <al...@gercom.com> on 2003/02/10 02:16:29 UTC

element in dnsserver definition

Serge -

An understanding of how <authoritative>false</authoritative>
is used needs to be given.

In DNSServer.java, the following code snippets 

    /**
     * A TTL cache of results received from the DNS server.
This
     * is a reference to a third party library object.
     */
    private Cache cache;

   /**
     * Whether the DNS response is required to be
authoritative
     */
    private byte dnsCredibility;

		cache.lookupRecords(name, type, dnsCredibility);
		
lead me to believe that this field specifies that the
response must be authoritative or not; 
if this is set to TRUE, then all DNS lookups must be
authoritative, otherwise it will fail.

I recently spent some time trying to figure out why 
 - certain hosts resolved incorrectly but were deliverable
 - certain hosts resolved incorrectly but were not
deliverable
 - certain hosts resolved correctly 

It appears that if this is set to TRUE, domains were not
resolved correctly; almost as if the server's recursion was
turned off, and when set to FALSE, host resolution was
performed as expected.

The terms authoritative and Credibility are not clear with
reference to org.xbill's intent.

Can some light be shed on this ?



_______________________
thanks,
alan

---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


RE: element in dnsserver definition

Posted by "Noel J. Bergman" <no...@devtech.com>.
> An understanding of how <authoritative>false</authoritative>
> is used needs to be given.

AIUI, <authoritative> tells it to only accept DNS responses that are
authoritative for the domain.  Generally, it would be a very bad idea to set
that in the configuration.  It is primarily useful in an intranet/extranet
environment.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org