Re: [Development] Implementing of a DNS feature under Windows [QTBUG-30166]

2013-09-30 Thread Mandeep Sandhu
On Tue, Oct 1, 2013 at 10:10 AM, Chris W wrote: > On 01/10/13 14:24, Mandeep Sandhu wrote: > > > > The MSDN doc link doesn't mention any specific OS version: > > > http://msdn.microsoft.com/en-us/library/windows/desktop/hh447188(v=vs.85).aspx > > < > http://msdn.microsoft.com/en-us/library/windows

Re: [Development] Implementing of a DNS feature under Windows [QTBUG-30166]

2013-09-30 Thread Chris W
On 01/10/13 14:24, Mandeep Sandhu wrote: > > The MSDN doc link doesn't mention any specific OS version: > http://msdn.microsoft.com/en-us/library/windows/desktop/hh447188(v=vs.85).aspx > > > > But I could be miss

Re: [Development] Implementing of a DNS feature under Windows [QTBUG-30166]

2013-09-30 Thread Mandeep Sandhu
Hi Sahne, Thanks for the heads. Some comments inline... Hi Mandeep, > > DnsQueryEx unfortunately requires Windows 8. > The MSDN doc link doesn't mention any specific OS version: http://msdn.microsoft.com/en-us/library/windows/desktop/hh447188(v=vs.85).aspx But I could be missing something obvi

Re: [Development] Implementing of a DNS feature under Windows [QTBUG-30166]

2013-09-30 Thread Shane Kearns
Hi Mandeep, DnsQueryEx unfortunately requires Windows 8. So before using it, you'd need to check the library function exists. Then fall back on the older API if it doesn't. The MS support article you linked applies to windows 2000,XP and 2003 server only. So you need to check the behaviour isn't

Re: [Development] Implementing of a DNS feature under Windows [QTBUG-30166]

2013-09-28 Thread Mandeep Sandhu
On Fri, Sep 27, 2013 at 9:19 PM, Jan Kundrát wrote: > On Thursday, 26 September 2013 10:33:49 CEST, Mandeep Sandhu wrote: > > . I'll be using the PIP4_ARRAY struct for specifying the nameserver > > How would you handle a situation where the user provides an IPv6 address of > a nameserver? > Good

Re: [Development] Implementing of a DNS feature under Windows [QTBUG-30166]

2013-09-27 Thread Jan Kundrát
On Thursday, 26 September 2013 10:33:49 CEST, Mandeep Sandhu wrote: > . I'll be using the PIP4_ARRAY struct for specifying the nameserver How would you handle a situation where the user provides an IPv6 address of a nameserver? Cheers, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://tro

[Development] Implementing of a DNS feature under Windows [QTBUG-30166]

2013-09-26 Thread Mandeep Sandhu
Hi All, I'm working on adding support for a custom DNS server in QDnsLookup. The *nix implementation is complete, however I needed some pointers on doing it under Windows. The process of specifying a specific DNS server is sort of 'undocumented'. I've looked at the current implementation of DNS