Please send feedback to jndi@java.sun.com
Table of Contents
This document is a companion to the main
DNS Service Provider
document.
It describes how to use the DNS service provider
with the Java 2 SDK, Standard Edition, versions 1.2.x and 1.3.x.
The DNS service provider is not supported on earlier JDK releases,
and comes bundled with the J2SDK v 1.4.
If you have not installed the DNS service provider as an
installed extension (that is, dns.jar has not been installed in the
Java 2 SDK's jre/lib/ext directory),
perform the following additional step:
If you have not installed JNDI 1.2 as an
installed extension (that is, jndi.jar has not been installed in the
Java 2 SDK's jre/lib/ext directory),
perform the following additional step:
Introduction
Java 2 SDK, Standard Edition, v 1.4
Software Dependencies
Software Installation
Since the DNS service provider is bundled as part of the J2SDK v 1.4,
the software included in the DNS service provider's distribution file
need not be installed.
Java 2 SDK, Standard Edition, v 1.3.x
Software Dependencies
Software Installation
Security Considerations
When a security manager has been installed,
you must grant the application permission to connect to the DNS servers:
permission java.net.SocketPermission "host[:port]", "connect,accept";
for the host and port pairs
supplied in the java.naming.factory.initial property, and in any URL
string names supplied to context methods.
Java 2 SDK, Standard Edition, v 1.2.x
Software Dependencies
Install jndi.jar as described in
the JNDI 1.2 Optional Package document.
Software Installation
Follow the directions given for the Java 2 SDK v 1.3.x
above.
Security Considerations
The security considerations described for the Java 2 SDK v 1.3.x
above apply here as well.
Copyright © 2001 Sun Microsystems, Inc., All Rights Reserved.