Bug 12556

Summary: resolv: RES_ROTATE / options rotate broken
Product: glibc Reporter: Jan Boysen <jan>
Component: networkAssignee: Not yet assigned to anyone <unassigned>
Severity: normal CC: jdthood, nick.jones
Priority: P2 Flags: fweimer: security-
Version: 2.11   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: Fix for RES_ROTATE option

Description Jan Boysen 2011-03-09 16:25:27 UTC
Created attachment 5281 [details]
Fix for RES_ROTATE option

Since Git commit 3a85895fa3e15b8d53856161a4ba3950d44ea285 RES_ROTATE seems broken as the nameservers are not rotate anymore if specifying options rotate in /etc/resolv.conf

Always the second entry is queries instead of a rotate on all specified nameservers.

I investigated the issue back to commit 3a85895fa3e15b8d53856161a4ba3950d44ea285.

The attached patch fixes the rotate option, but I didnt try if this also breaks the main cause of the commit.

The bug has originally bee reported at Debians Bugtracker at

but as far I investigated other distributions are affected too like Gentoo and Fedora..
Comment 1 Thomas Hood 2013-01-30 13:46:07 UTC

*** This bug has been marked as a duplicate of bug 13028 ***