www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/10/17:27:20

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT 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 AT ger DOT gmane DOT org> <484C134C DOT 3000903 AT free DOT fr> <17761040 DOT post AT talk DOT nabble DOT com> <20080610191348 DOT GB902 AT ednor DOT casa DOT cgf DOT cx> <17762732 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


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