Hi,

On 16/09/2019 22:25, Yalda Kako wrote:
Hello


I'm having some trouble finding the best reference tutorial to start with for 
setting up DS as a DNS server.

There is none.



I am also unclear if the feature is still supported, as my team has found 
source code related to a DNS server in the master branch.

The code exists, it's not maintained, and the service is not started when the DIrectoryServer is started :


In ApacheDsService.java :

    /**
     * Initialize the DNS server
     */
    //    private void initDns( InstanceLayout layout ) throws Exception
    //    {
    //        if ( factory == null )
    //        {
    //            return;
    //        }
    //
    //        try
    //        {
    //            dnsServer = ( DnsServer ) factory.getBean( "dnsServer" );
    //        }
    //        catch ( Exception e )
    //        {
    //            LOG.info( "Cannot find any reference to the DNS Server in the configuration : the server won't be started" );
    //            return;
    //        }
    //
    //        System.out.println( "Starting the DNS server" );
    //        LOG.info( "Starting the DNS server" );
    //
    //        printBanner( BANNER_DNS );
    //        long startTime = System.currentTimeMillis();
    //
    //        dnsServer.start();
    //        System.out.println( "DNS Server started" );
    //
    //        if ( LOG.isInfoEnabled() )
    //        {
    //            LOG.info( "DNS server: started in {} milliseconds", ( System.currentTimeMillis() - startTime ) + "" );
    //        }
    //    }

Now, the reason we have disabled it is that we have no one to maintain it at the moment. I don't think it's disfunctionnal, it's certainly incomplete though.


Am I missing something or is there a pointer I can get regarding this?

I don't think you are missing anything.


Note that you can un-comment this code and you probably will have th DNS server working.


Emmanuel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@directory.apache.org
For additional commands, e-mail: users-h...@directory.apache.org

Reply via email to