The code is there (in 2.17-0ubuntu1):

    if (!strncmp(cp, "attempts:", sizeof("attempts:") - 1)){
                        i = atoi(cp + sizeof("attempts:") - 1);
                        if (i <= RES_MAXRETRY)
                                statp->retry = i;
                        else
                                statp->retry = RES_MAXRETRY;

        for (try = 0; try < statp->retry; try++) {
            for (ns = 0; ns < MAXNS; ns++)

If you set "attempts:1" it should only run through the nameserver list
once instead of the default, twice.

** Changed in: eglibc (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1029361

Title:
  resolv.conf 'attempts' option has no effect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1029361/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to