delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/14/14:40:01

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=df
fL2UCC93yPE4ZMo8hMIaQjcq57JAlHQhMVYZxztDhcV1jE06g27OT+wNTk1IgbEm
1qh0qDWNKx/IUtbZm64jCp0f1hviKOUMPcGnE8MvABQo+5+ltmHBwbWEMWDedj2c
qe1L0wVXpxbWG8qUm5jKe6Lm43VlqZB+Fu2LZ9NwM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=mXufelEu
yI/ZTpNZzSdgqMjppfA=; b=LjA5jE+JQwwljfWj+dech577sP1ukpQ6UGdTupWb
rMfT4/+wr2xDT0n6jdCgY6HFt8A+a9auQ9cQTwjAzjEdfVTtBZqxwwLT8GGmmSuy
N7Y1eHe8nYATEAd3MN8B3jCmxX6pEd9BSHI7FE6ZWxX/JlQkAHNq2aZZAqxUvCzZ
HdM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: Yes, score=5.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPAM_URI1,SPF_PASS,T_FILL_THIS_FORM_SHORT autolearn=no version=3.3.2
X-HELO: mail-ig0-f179.google.com
MIME-Version: 1.0
X-Received: by 10.42.146.71 with SMTP id i7mr28018710icv.89.1429036782691; Tue, 14 Apr 2015 11:39:42 -0700 (PDT)
In-Reply-To: <1923978077.20150414135419@yandex.ru>
References: <CAFWoy7F6DMy4L8ccwOSztuJfKqPhkVW9TTsL2ZEBjvum-6hYsg AT mail DOT gmail DOT com> <CAFWoy7HKNuz8_nj9iHamGXzxvcFx-mtOSRPQJqn2OxGOpAmLmg AT mail DOT gmail DOT com> <1923978077 DOT 20150414135419 AT yandex DOT ru>
Date: Tue, 14 Apr 2015 12:39:42 -0600
Message-ID: <CAFWoy7HGJSXhvjBraTqrw_XZ+6+JQFhJkrfANNGhz4wrXgQ=JQ@mail.gmail.com>
Subject: Re: dig utility in bind-utils-9.9.7-1 returns no output
From: Keith Christian <keith1christian AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Brian, Andre,

Thanks for the suggestions / info.

Examples below.  "No output" means that dig provided no reply or
diagnostic info to the Cygwin screen as can be seen below, even when
asking for the internal help text.

Dig was working fine until the last update, I've
uninstalled/reinstalled it, etc.  Most baffling issue I've seen with a
simple executable in awhile.

I'd expect some access problem to the DNS servers, except that the
native Windows nslookup utility works fine.

Tue Apr 14 12:26:27 pty2 >dig +trace google.com

Tue Apr 14 12:26:31 pty2 >dig --help

Tue Apr 14 12:26:36 pty2 >dig -h

Tue Apr 14 12:25:18 pty2 >dig google.com

Tue Apr 14 12:25:33 pty2 >/cygdrive/c/Windows/system32/nslookup.exe google.com

Non-authoritative answer:
Server:  ns01.my.employer.com
Address:  www.xxx.yyy.zz

Name:    google.com
Addresses:  2607:f8b0:4005:803::200e
          216.58.192.46




Below are some tries with the "host" utility.  "host" provides a help
screen, but no DNS info.

Tue Apr 14 12:33:25 pty2 >host google.com

Tue Apr 14 12:33:37 pty2 >host 216.58.192.46

Tue Apr 14 12:33:41 pty2 >host --help
host: illegal option -- -
Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
            [-R number] [-m flag] hostname [server]
       -a is equivalent to -v -t ANY
       -c specifies query class for non-IN data
       -C compares SOA records on authoritative nameservers
       -d is equivalent to -v
       -l lists all hosts in a domain, using AXFR
       -i IP6.INT reverse lookups
       -N changes the number of dots allowed before root lookup is done
       -r disables recursive processing
       -R specifies number of retries for UDP packets
       -s a SERVFAIL response should stop query
       -t specifies the query type
       -T enables TCP/IP mode
       -v enables verbose output
       -w specifies to wait forever for a reply
       -W specifies how long to wait for a reply
       -4 use IPv4 query transport only
       -6 use IPv6 query transport only
       -m set memory debugging flag (trace|record|usage)
       -V print version number and exit


Keith



On Tue, Apr 14, 2015 at 4:54 AM, Andrey Repin <anrdaemon AT yandex DOT ru> wrote:
> Greetings, Keith Christian!
>
>>> nslookup returns normal output.
>>>
>>> An strace of dig shows nothing out of the ordinary.
>>>
>>> ls -l /bin/dig shows:
>>>
>>> -rwxr-xr-x 1 keith Domain Users 2202141 Mar 18 20:05 /bin/dig
>
>> Anyone have suggestions?  I've uninstalled and reinstalled bind-utils,
>> no improvement.
>
> Clarify "no output"? What you request, and what you get in return?
> I'm using dig regularly, and I see no change in the current version.
>
>
> --
> With best regards,
> Andrey Repin
> Tuesday, April 14, 2015 13:52:20
>
> Sorry for my terrible english...
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019