← Back to team overview

kernel-packages team mailing list archive

[Bug 1468836] Re: Resolver ignores ndots option

 

apport information

** Tags added: apport-collected

** Description changed:

  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

** Attachment added: "BootDmesg.txt"
   https://bugs.launchpad.net/bugs/1468836/+attachment/4420505/+files/BootDmesg.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1468836

Title:
  Resolver ignores ndots option

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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

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


References