STUN servers could be provided as a DNS name by other APIs (e.g. WebRTC), but libnice currently only accepts numeric server names. It would be great if libnice could do the DNS resolution, which probably requires adding some async API around GResolver for this. Otherwise every application has to do that themselves.
This defitely should be added, the libnice code pre-dates GResolver, imho, we don't need a specific async API, only to start resolution on a call to nice_agent_set_relay_info().
Migrated to Phabricator: http://phabricator.freedesktop.org/T108