This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin DNS lookup utility
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/