Make by_ip and by_name modules