Master server in UNET

Hello everyone.
I’ve knda new in game developing but about a week ago I started trying to create multiplayer game. At first I set up the old Unity networking following tutorials and got it working with master server hosted on my dedicated machine but I noticed that I have many “legacy function” warnings so I decided to make a research. I found UNET and find it a way better and I set up a little 3D-platformer game with all necessary features.

But still I have one question: how do I make a game to use master server to register and find other servers?
I do not want relayed connections and all these cloud services kindly brought to us by Unity, I know about matchmaking but I do like the old system.

Will old system like this work?

MasterServer.ipAdress = "hostname.com";
MasterServer.port = 8888;

As there are so many new classes, structs and functions I doubt about it.
Thank you for any help.

Sure - here’s a rewrite of the old Master Server to work with uNet instead: http://forum.unity3d.com/threads/master-server-sample-project.331979/