This is the mail archive of the
cygwin
mailing list for the Cygwin project.
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
- Date: Tue, 14 Apr 2015 12:39:42 -0600
- Subject: Re: dig utility in bind-utils-9.9.7-1 returns no output
- Authentication-results: sourceware.org; auth=none
- 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>
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@yandex.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