[Bug 1029361] Re: 'attempts' DNS option has no effect
Thomas Hood
1029361 at bugs.launchpad.net
Thu Jul 26 10:59:13 UTC 2012
Resolvconf seems to be working correctly: it adds the "tail" file to the
dynamic resolv.conf file.
** Package changed: resolvconf (Ubuntu) => eglibc (Ubuntu)
** Summary changed:
- 'attempts' DNS option has no effect
+ resolv.cofn 'attempts' option has no effect
** Summary changed:
- resolv.cofn 'attempts' option has no effect
+ resolv.conf 'attempts' option has no effect
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/1029361
Title:
resolv.conf 'attempts' option has no effect
Status in “eglibc” package in Ubuntu:
New
Bug description:
From man(8) resolvconf:
/etc/resolvconf/resolv.conf.d/tail
File to be appended to the dynamically generated resolver con‐
figuration file. To append nothing, make this an empty file.
This file is a good place to put a resolver options line if one
is needed, e.g.,
options inet6
I tried to stick in some options to influence the behavior when my 12.04 system has no network connectivity:
Looking at man(5) resolv.conf, I added this to
/etc/resolvconf/resolv.conf.d/tail:
options timeout:2 attempts:1
After reloading the network, I can see both of these options in /etc/resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 2001:610:1:800a:192:87:106:106
nameserver 2001:610:188:140:145:100:188:188
search terena.org
options timeout:2 attempts:1
The configured timeout seems to work, but the 'attempts' doesn't.
Also putting in those values on their own on a single has the same
result: 'timeout' value gets picked up, 'attempts' doesn't.
FYI /etc/network/interfaces looks like this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.87.30.17
netmask 255.255.255.192
gateway 192.87.30.1
# IPv6 static address
iface eth0 inet6 static
address 2001:610:148:dead::666
netmask 64
gateway 2001:610:148:dead::1
autoconf 0
privext 0
accept_ra 0
dns-search terena.org
dns-domain terena.org
dns-nameservers 2001:610:1:800a:192:87:106:106 2001:610:188:140:145:100:188:188
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1029361/+subscriptions
More information about the foundations-bugs
mailing list