Bug#576093: error: No nameservers defined in the resolver

2010-03-31 Thread Piotr Engelking
Package: ldnsutils
Version: 1.6.4-4
Severity: normal

If the 'nameserver' option is not present in /etc/resolv.conf, drill
refuses to run:

$ drill
error: No nameservers defined in the resolver
;; No packet received
$ cat /etc/resolv.conf
options ndots:0
$

According to resolv.conf(5), the 'nameserver' option is, however,
optional, and such a configuration is functionally identical to a
single 'nameserver 127.0.0.1' option.

Please change drill not to refuse to run in this situation.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.33.1-00223-gd8f3bcb (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ldnsutils depends on:
ii  libc6 2.10.2-6   Embedded GNU C Library: Shared lib
ii  libldns1  1.6.4-4ldns library for DNS programming
ii  libpcap0.81.0.0-6system interface for user-level pa
ii  libssl0.9.8   0.9.8m-2   SSL shared libraries

ldnsutils recommends no packages.

ldnsutils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#576093: error: No nameservers defined in the resolver

2022-04-26 Thread Michael Tokarev

Control: severity -1 minor
Control: tag -1 + confirmed upstream
Control: found -1 1.8.1-1

On Wed, 31 Mar 2010 22:52:09 +0200 Piotr Engelking  wrote:

Package: ldnsutils
Version: 1.6.4-4
Severity: normal

If the 'nameserver' option is not present in /etc/resolv.conf, drill
refuses to run:


Yeah, drill does not initialize a default nameserver of 127.0.0.1 in
case no nameserver line is present in resolv.conf.

Confirmed, marking this as a minor issue and tagging with "upstream".

Thanks,

/mjt