discovery of mdns urls

Please review @g-ortuno 
Let's make this global constants.