Hmm sincerely I don't understand the need for a conversion since every socket function can resolve dns names without problems, but that's not my business. I guess maybe NSISdl or inetload could provide a function like that, or you could write a plugin yourself shouldn't be that much of work.