delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/10/18:38:23

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <17766299.post@talk.nabble.com>
Date: Tue, 10 Jun 2008 15:37:49 -0700 (PDT)
From: jtriedl <riedl AT CS DOT UMN DOT EDU>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin DNS lookup utility
In-Reply-To: <g2mri4$47i$1@ger.gmane.org>
MIME-Version: 1.0
X-Nabble-From: riedl AT CS DOT UMN DOT EDU
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> <g2mri4$47i$1 AT ger DOT gmane DOT org>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m5AMcLKm011572

It's great that this works.  I'll do it this way.  The directions I was
trying to follow were about how to take the *binary* for Windows and use it
directly.

John


René Berber-2 wrote:
> 
> jtriedl wrote:
> 
>> LOL.  I should have mentioned that I checked all the obvious permission
>> things, and they're all what one would expect:
>> 
>> (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: /)
>> 
>> 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 
> real answer to your question, my guess is that you did something wrong 
> (like follow "instructions" for a Microsoft compiler or build in a weird 
> file system, not NTFS, perhaps a network share or NFS mounted with no 
> execute permission).
> 
> $ tar xvf bind-9.5.0.tar.gz
> $ cd bind-9.5.0
> $ ./configure --enable-threads --with-openssl=yes --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. 
> 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
> -- 
> René 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/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Cygwin-DNS-lookup-utility-tp17720154p17766299.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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