addWatcher('Internet uplink', watchPing('8.8.8.8'));


var dns = require('dns');

addWatcher('Internet uplink', watchPing('8.8.8.8'));
addWatcher('DNS', function(ack, err) {
    dns.resolve('google.com', function(e, addresses) {
        if (e) {
            err(e.message);
        } else {
            if (addresses.length == 0) {
                err("no records");
            } else {
                ack();
            }
        }
    });
});


Add DNS lookup to the default services