[Bug 1029361] [NEW] 'attempts' DNS option has no effect
/usr/local/dick
dick at tienhuis.nl
Thu Jul 26 10:32:05 UTC 2012
Public bug reported:
>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
** Affects: resolvconf (Ubuntu)
Importance: Undecided
Status: New
--
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:
'attempts' DNS option has no effect
Status in “resolvconf” 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/resolvconf/+bug/1029361/+subscriptions
More information about the foundations-bugs
mailing list