Hello Jens,
try to install dnrd_2.10-5 (available in Debian unstable). This version
has a /etc/init.d/dnrd that is able to extract the nameservers out of
/etc/resolv.conf.
Thomas
--
On Fri, Mar 08, 2002 at 06:59:05AM -0800, Jens wrote:
> Hi, I am a bit confused about dnrd and it's startup sequence.
> I am trying to set up dnrd on a firewall machine on a debian box. The
> interface to the isp is getting it's setup info from a dhcp client. When I
> install the dnrd debian package it sets up to run dnrd at startup but it
> seems that no parameters are passed. The end result is that although the
> clients on the inside of the firewall can ask dnrd on the firewall box to do
> a lookup, it seems that the lookup only happens in /etc/hosts and is not
> passed on to the outside.
> >From what I gather, the correct way to run dnrd in this situation would be
> "dnrd -s 1.2.3.4" where 1.2.3.4 is the ip of my isp's name server. Since the
> connection to my isp is set up via dhcp, the nameserver info is set up in
> resolv.conf but I can see no option in dnrd to just look at the resolv.conf
> file for nameserver info. I suppose I can use a convoluted (to me) script to
> parse the resolv.conf file myself but surely there must be an easier way to
> do this ......
> What am I missing ?
>
> Thanks
>
> Jens