exports = module.exports = function(registry) {
  var api = {};
  
  api.resolve = function(type, domain, rrtype, cb) {
    registry.resolve(type, domain, rrtype, function(err, records) {
      cb(err, records);
    });
  };
  
  api.resolveSrv = function(type, domain, cb) {
    registry.resolveSrv(type, domain, function(err, records) {
      cb(err, records);
    });
  };
  
  return api;
};

exports['@implements'] = 'http://i.bixbyjs.org/sd';
exports['@singleton'] = true;
exports['@require'] = [
  './registry',
];

exports = module.exports = function(registry) {
  var api = {};
  
  api.resolve = function(type, domain, rrtype, cb) {
    registry.resolve.apply(registry, arguments);
  };
  
  api.resolveSrv = function(type, domain, cb) {
    registry.resolveSrv.apply(registry, arguments);
  };
  
  return api;
};

exports['@implements'] = 'http://i.bixbyjs.org/sd';
exports['@singleton'] = true;
exports['@require'] = [
  './registry',
];

Use apply to forward call to registry.
Use apply to forward call to registry.
