plugin/loop: add missing break (#1992)
plugin/loop: add missing break (#1992)

The Onstartup loop wouldn't call break after the first success, thereby
sending the query multiple times and halting the process.

Some small other optimizations as well.

Signed-off-by: Miek Gieben <00b357f94cf3a1145a32703fb42e2d80418ab806@miek.nl>
yongtang/coredns,ii/coredns,miekg/coredns,jremond/coredns,miekg/coredns,johnbelamaric/coredns,jremond/coredns,ii/coredns,chrisohaver/coredns,coredns/coredns,johnbelamaric/coredns