{
LOG.debug( "{} RCVD: {}", session.getRemoteAddress(), message );
try
{
DnsContext dnsContext = new DnsContext();
dnsContext.setConfig( config );
dnsContext.setStore( store );
session.setAttribute( getContextKey(), dnsContext );
DomainNameService.execute( dnsContext, ( DnsMessage ) message );
DnsMessage response = dnsContext.getReply();
session.write( response );
}
catch ( Exception e )
{