Re: automatic generation of resolv.conf

2005-06-14 Thread Corinna Vinschen
On Jun 13 15:36, Ross Boulet wrote:
> > When building dig on Cygwin, its configury should find
> > that libresolv
> > already exists and link against it.  It's the minires and
> > minires-devel
> > packages you need for that.
> > 
> > 
> > Corinna
> 
> I did not have minires-devel installed.  I have installed it
> and run:
> 
> $ make clean
> $ ./configure
> $ make
> 
> The resulting dig.exe is still looking for nameservers in
> resolv.conf.  Am I missing a step for integrating
> minires-devel?

Proboably not.  It's apparently part of dig's own source to look for a
resolv.conf file.  This would have to be changed in dig.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



RE: automatic generation of resolv.conf

2005-06-13 Thread Ross Boulet
> On Jun  9 15:25, Brian Dessent wrote:
> > Ross Boulet wrote:
> > > I recently downloaded and compiled dig from the bind
> > > website.  [...]
> >
> > Since that functionality already exists, your best bet
> would be to
> > either a) use the win32 port b) patch dig to include
> that functionality
> > when compiling with Cygwin.
> 
> When building dig on Cygwin, its configury should find
> that libresolv
> already exists and link against it.  It's the minires and
> minires-devel
> packages you need for that.
> 
> 
> Corinna

I did not have minires-devel installed.  I have installed it
and run:

$ make clean
$ ./configure
$ make

The resulting dig.exe is still looking for nameservers in
resolv.conf.  Am I missing a step for integrating
minires-devel?

Thanks.
Ross




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



Re: automatic generation of resolv.conf

2005-06-10 Thread Corinna Vinschen
On Jun  9 15:25, Brian Dessent wrote:
> Ross Boulet wrote:
> > I recently downloaded and compiled dig from the bind
> > website.  [...]
> 
> Since that functionality already exists, your best bet would be to
> either a) use the win32 port b) patch dig to include that functionality
> when compiling with Cygwin.

When building dig on Cygwin, its configury should find that libresolv
already exists and link against it.  It's the minires and minires-devel
packages you need for that.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  mailto:cygwin@cygwin.com
Red Hat, Inc.

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



Re: automatic generation of resolv.conf

2005-06-09 Thread Brian Dessent
Ross Boulet wrote:

> I recently downloaded and compiled dig from the bind
> website.  When I tried to run it, it wouldn't work unless I
> specified the DNS server on the command line.  Looking at
> the man page on a Linux box, I saw a reference to
> resolv.conf (which is obviously not present by default in
> Windoze.  Creating a resolv.conf with my ISP's name servers
> in it fixed the issue.
> 
> I saw some posts from a while back where someone was
> thinking about a utility to create the resolv.conf file for
> some other application that was expecting its presence.
> Does anyone know if this ever got further than the idea
> phase?  I use a laptop in a lot of different places and the
> name servers vary from place to place, depending on the ISP.
> I could just hard code the resolv.conf, but it would be
> helpful to see the data my clients are seeing without having
> to redo resolv.conf each time.

I know that this does not directly answer your question, but if you use
the win32 port of dig (straight from isc.org) you do not need any such
resolv.conf, it gets the nameservers from the Windows configuration.

Since that functionality already exists, your best bet would be to
either a) use the win32 port b) patch dig to include that functionality
when compiling with Cygwin.

Brian

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



automatic generation of resolv.conf

2005-06-09 Thread Ross Boulet
I recently downloaded and compiled dig from the bind
website.  When I tried to run it, it wouldn't work unless I
specified the DNS server on the command line.  Looking at
the man page on a Linux box, I saw a reference to
resolv.conf (which is obviously not present by default in
Windoze.  Creating a resolv.conf with my ISP's name servers
in it fixed the issue.

I saw some posts from a while back where someone was
thinking about a utility to create the resolv.conf file for
some other application that was expecting its presence.
Does anyone know if this ever got further than the idea
phase?  I use a laptop in a lot of different places and the
name servers vary from place to place, depending on the ISP.
I could just hard code the resolv.conf, but it would be
helpful to see the data my clients are seeing without having
to redo resolv.conf each time.

Thanks in advance for the help.




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