Silly question, but then so are mistakes.

Did you put the second half of the rndc.key output into your /var/named/etc/named.conf file?

I just configured bind for the first time yesterday, so its all very fresh in my mind.

sbr.

On Sat, 21 May 2005, Sandro wrote:

I don't run bind on my openbsd box, but isn't it setup to chroot into
/var/named?

I believe that you need to put rndc.key relative to the chroot'd
environment (/var/named/etc/...)

...of course, it's a shot in the dark, I don't know how you configured
bind, if you changed anything at all etc...

HTH,
Sandro

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Michael
Sent: May 21, 2005 10:03 AM
To: misc@openbsd.org
Subject: DNS Configuration Problem

Hello.

I have recently installed OpenBSD 3.7 on my future
router and I had the surpise to see that I am not able
to properly config DNS (bind) on this box.
I have generated "/etc/rndc.key" with the help of
rndc-confgen.

The file is successfully generated and I "cat" and see
its content, it is nicely generated with no problem,
but when I try to execute "/usr/sbin/named" I get tons
of errors telling me that "/etc/rndc.key" doesn't
really exist.

This is when I check again, and yes, "/etc/rndc.key"
is there but "/usr/sbin/named" again tells me that it
is not there.

If someone could help me with this problem then I
could carry on with the "NAT ruleset research" for pf,
as I have never completed such a configuration before.

Thank you all in advance for your help.

Best regards.
Mihai.



Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html

Reply via email to