Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 04:31:49 +0200
From:      Ion-Mihai Tetcu <>
To:        "Vahric MUHTARYAN" <>
Subject:   Re: djbdns
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 30 Dec 2003 04:03:35 +0200
"Vahric MUHTARYAN" <> wrote:

> I'm using FreeBSD 4.9 
> I red this link


> I created Gdnscache and Gdnslog users 

> dnscache-conf Gdnscache Gdnslog /etc/dnscache 
> ( Which mydns is working same with same ip ) 

I don't know if I understand you correctly here; This means that
dnscache will listen on ip port 53 both udp and tcp.
> ln -s /etc/dnscache /service

ok ... or not, see below.
> touch /etc/dnscache/root/ip/192.168.0

so it will answer to queries from
> nameserver

in /etc/resolv.conf
Just checking: is on the machine you are running dnscache,
right ?

> But it's not working ... 
> I cant find /service/dnscache because with tihs configuration no
> dnscahce linked to service directory 

Take a look at /usr/local/etc/rc.d/ 

1. SVDIR=/var/service/ - so svscan will look at /var/service and not
/service; either do:
a) what is suggested and use /var/services (e.g. ln -s /etc/dnscache
/var/service) or 
b) change SVDIR=/var/service/ to SVDIR=/service/

I would use a); also note that creating the log file in /etc/dnscache is
IMHO a bad idea.

# cp /usr/local/etc/rc.d/ /usr/local/etc/rc.d/
# /usr/local/etc/rc.d/ start
# svstatus /var/services/dnscache
# svstatus /var/services/dnscache/log
# dnsip

> I tried this configuration with but it's not working .. 

If you put in /etc/resolv.conf with this configuration it
won't work.
> I'm using MyDNS but it's not support -Non Auth. Answer .... But I need
> recursive query some times 

Please elaborate, I do not understand.

Unregistered ;) FreeBSD user

Want to link to this message? Use this URL: <>