Server naming and searching

In the multiplayer example projects, all the servers are joined by typing in a server ip adress, but how would it be done to make anyone starting a server being able to name it, and everyone else to find it with the name, instead of having to know the ip adress?

you can do that with .net :

IPHostEntry hostInfo = Dns.Resolve("www.google.com");
IPAddress[] address = hostInfo.AddressList;
for(int index=0; index < address.Length; index++) {
            Debug.Log(address[index]);
}