[Bug 990660] Re: dns-domain in interfaces appears as search in resolv.conf

Jeffry A. Spain 990660 at bugs.launchpad.net
Sat Apr 28 18:34:21 UTC 2012


> The distinction between 'domain' and 'search' should be immaterial;
the only difference is that a 'domain' option allows only a single
domain name, and 'search' allows multiple domains.  So the use of
'search' for a single domain is not a bug, and is more consistent with
the case in which multiple domain names are specified.

While I agree that the functional difference is perhaps immaterial, I
would argue that mapping both "dns-domain" and "dns-search" in
/etc/network/interfaces to "search" in resolv.conf serves only to
increase the possibilities for confusion and errors, particularly since
this mapping appears to be undocumented as well as unintuitive. For the
sake of consistency, it makes sense either to map "dns-domain" to
"domain" and "dns-search" to "search", or if you think the use of
"domain" in resolv.conf should be deprecated, then eliminate "dns-
domain" in interfaces. Thanks for your further consideration.

Jeffry A. Spain
Network Administrator
Cincinnati Country Day School

-- 
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/990660

Title:
  dns-domain in interfaces appears as search in resolv.conf

Status in “resolvconf” package in Ubuntu:
  Invalid

Bug description:
  As recommended in the post http://www.stgraber.org/2012/02/24/dns-in-
  ubuntu-12-04/, I placed "dns-domain countryday.net" in an iface stanza
  in /etc/network/interfaces. The resulting resolv.conf file contains
  "search countryday.net" rather than "domain countryday.net" as I would
  have expected.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: resolvconf 1.63ubuntu11
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu6
  Architecture: amd64
  Date: Sat Apr 28 13:53:55 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=linux
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: resolvconf
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list