[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#463575: /etc/resolv.conf: No way to disable domain option



Package: libc6
Version: 2.3.6.ds1-13etch4
Severity: normal

Hi,

$ man resolv.conf
       domain Local domain name.
              Most queries for names within this domain can use short names relative to the local domain.  If no domain entry is present, the domain is determined from the local host name returned by gethostname(); the domain part is taken to be  everything  
after
              the first ‘.’.  Finally, if the host name does not contain a domain part, the root domain is assumed.

There doesn't seem to be a way to disable this option. If it's not set or if it's set to the empty string, gethostname() will be used.
I'd like to have an option to just disable it.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libc6 depends on:
ii  tzdata                      2007j-1etch2 Time Zone and Daylight Saving Time

libc6 recommends no packages.

-- no debconf information



Reply to: