Michael Stefaniuc : dnsapi: Transform two for loops into while loops.