locked
WinRT & C++ & DNS: Is it possible to perform NAPTR queries on WinRT?

    Question

  • Hi

    WinRT & C++ & DNS: Is it possible to perform NAPTR queries on WinRT?

    Thanks,

    Rafi

    Thursday, August 29, 2013 8:05 AM

All replies

  • I suppose you could manually construct this using a socket?

    What specifically are you trying to accomplish?


    Jeff Sanders (MSFT)

    @jsandersrocks - Windows Store Developer Solutions @WSDevSol
    Getting Started With Windows Azure Mobile Services development? Click here
    Getting Started With Windows Phone or Store app development? Click here
    My Team Blog: Windows Store & Phone Developer Solutions
    My Blog: Http Client Protocol Issues (and other fun stuff I support)

    Thursday, August 29, 2013 3:06 PM
    Moderator
  • This is my best option, but in order to do that I'd need to retrieve the DNS configuration from the device: the address of the DNS server and the domain name. As far as I understand this information is not available to retrieve. 

    In general when writing (in my case porting) VoIP application while using such protocols as SIP, MSRP, STUN and TURN the correspondent standards require to perform NAPTR & SRV DNS queries. 

    Regards,

    Rafi

    Friday, August 30, 2013 5:02 AM
  • You should be able to get DNS server addresses using the DhcpRequestParams / Dhcpv6RequestParams APIs, which are accessible to Windows store apps.

    Tuesday, June 24, 2014 6:45 PM