X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r.berber@computer.org>
Subject:  Re: Cygwin DNS lookup utility
Date:  Tue, 10 Jun 2008 16:26:30 -0500
Lines: 52
Message-ID: <g2mri4$47i$1@ger.gmane.org>
References:  <g2gv76$bnh$1@ger.gmane.org> <484C134C.3000903@free.fr> <17761040.post@talk.nabble.com> <20080610191348.GB902@ednor.casa.cgf.cx> <17762732.post@talk.nabble.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  quoted-printable
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <17762732.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

jtriedl wrote:

> LOL.  I should have mentioned that I checked all the obvious permission
> things, and they're all what one would expect:
>=20
> (riedl-ibm-x40: /) ll /usr/bin/nslookup.exe
> 60K -rwxr-xr-x 1 riedl Users 60K Jun 10 10:23 /usr/bin/nslookup.exe*
> (riedl-ibm-x40: /) ll /usr/bin/dig.exe
> 72K -rwxr-xr-x 1 riedl Users 72K Jun 10 10:23 /usr/bin/dig.exe*
> (riedl-ibm-x40: /)
>=20
> I was speculating that the permission was some windows restriction on
> sending low-level name service requests, but I was hoping someone on this
> list would know more.

ISC's BIND works fine out of the box (no "instructions" followed).  No=20
real answer to your question, my guess is that you did something wrong=20
(like follow "instructions" for a Microsoft compiler or build in a weird=20
file system, not NTFS, perhaps a network share or NFS mounted with no=20
execute permission).

$ tar xvf bind-9.5.0.tar.gz
$ cd bind-9.5.0
$ ./configure --enable-threads --with-openssl=3Dyes --with-libtool
$ make
$ make install
$ which dig
/usr/local/bin/dig
$ dig smbserver

; <<>> DiG 9.5.0 <<>> smbserver
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52334
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;smbserver.                     IN      A

;; AUTHORITY SECTION:
.                       8267    IN      SOA     A.ROOT-SERVERS.NET.=20
NSTLD.VERISIGN-GRS.COM. 2008061000 1800 900 604800 86400

;; Query time: 9 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jun 10 16:25:37 2008
;; MSG SIZE  rcvd: 102
--=20
Ren=E9 Berber


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

