#!/usr/bin/env ruby $: << File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rubygems' require 'net/dns/mdns-sd' require 'net/dns/resolv-mdns' require 'net/dns/resolv-replace' master_address = ARGV[1] || 'Francis.local' require 'node' node = Node.new(master_address, 9125) node.run