[Bug 1468836] [NEW] Resolver ignores ndots option

Launchpad Bug Tracker 1468836 at bugs.launchpad.net
Tue Jul 7 19:18:15 UTC 2015


You have been subscribed to a public bug:

Regardless of ndots option in /etc/resolv.conf, when NXDOMAIN is returned from the DNS server then resolver always try another attempt with the original name extended by what is in search option.
For example, if you're looking for very.long.url.nowhere and there is a line "search ubuntu.com" in resolv.conf (or no such line at all, which gives out "search mydomain.tld" by default) you will get addres of server very.long.url.nowhere.ubuntu.com if such exists. It is incorrect, it should occurs only for urls having less that ndots option dots in its name.

First mentioned there
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/401202 but still
not fixed.

lsb_release:
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
--- 
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116,  1 Jun  3 20:17 seq
 crw-rw---- 1 root audio 116, 33 Jun  3 20:17 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 14.04
IwConfig: Error: [Errno 2] No such file or directory
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
MachineType: Bochs Bochs
Package: linux (not installed)
PciMultimedia:
 
ProcFB:
 
ProcKernelCmdLine: root=LABEL=DOROOT ro
ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-19-generic N/A
 linux-backports-modules-3.8.0-19-generic  N/A
 linux-firmware                            N/A
RfKill: Error: [Errno 2] No such file or directory
Tags:  trusty
Uname: Linux 3.8.0-19-generic i686
UpgradeStatus: Upgraded to trusty on 2015-06-03 (21 days ago)
UserGroups:
 
WifiSyslog:
 
_MarkForUpload: True
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs

** Affects: glibc (Ubuntu)
     Importance: Medium
         Status: Confirmed


** Tags: apport-collected kernel-bug-exists-upstream trusty
-- 
Resolver ignores ndots option
https://bugs.launchpad.net/bugs/1468836
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to glibc in Ubuntu.



More information about the foundations-bugs mailing list