[Interest] QDnsLookup - which server is used for lookups?

Thiago Macieira thiago.macieira at intel.com
Tue Jun 25 07:36:27 CEST 2013


On terça-feira, 25 de junho de 2013 07.09.32, Sven Putze wrote:
> > It uses whatever libresolv (Unix) or DnsQuery_W (Windows) use. libresolv
> > will read /etc/resolv.conf -- in fact, that's why this file has that
> > name.
> > 
> > To change the server, edit the file.
> 
> That's what I feared. Doesn't help me for what I have in mind (a special
> version of nslookup for logon scripts where I can dictate the DNS servers
> to use - specific for our environmental needs). Now I will stick on calling
> nslookup an parsing the output. Anyway: thank you all for the answers :-D

The feature could be added.

It's not very difficult, since both OS-level functions support specifying an 
optional list of servers to be queried.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130624/948538f8/attachment.sig>


More information about the Interest mailing list