You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Yalda Kako <yk...@pavlovmedia.com> on 2019/09/16 20:25:51 UTC
Regarding DNS setup
Hello
I'm having some trouble finding the best reference tutorial to start with for setting up DS as a DNS server.
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.
Am I missing something or is there a pointer I can get regarding this?
Thank you
Re: Regarding DNS setup
Posted by Emmanuel Lécharny <el...@gmail.com>.
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-unsubscribe@directory.apache.org
For additional commands, e-mail: users-help@directory.apache.org