My DNS servers! They won't reload!

2006-07-02 Thread João Michigan
Hay!

Greetings from tropical Singapore!

(though my surroundings are pretty much concrete)

I'm experiencing difficulties reloading named on both my servers.

named.conf and zone files on both servers have been tested elsewhere
and works fine. If the problem should appear to be in one or more of
those files let me know and I will include them to this list.

So, here we go:

*shrug*

-- Server 1 FreeBSD 6.1-STABLE: Fri May 12 05:26:00 CEST 2006

# rndc reload
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.

# netstat -Sa | grep rndc
tcp6   0  0  ::1.rndc*.*LISTEN
tcp4   0  0  127.0.0.1.rndc  *.*LISTEN

# rndc
Version: 9.3.2

# named  -v
BIND 9.3.2

I've tried using rndc-confgen to create a new rndc.key, as well as

 rndc.conf and references in named.conf, but the problem won't go away.


-- Server 2 FreeBSD 6.1-STABLE: Wed Jun 28 18:15:20 UTC 2006

# rndc reload
rndc: decode base64 secret: bad base64 encoding

# netstat -Sa | grep rndc
nothing

# rndc
Version: 9.3.2

# named -v
BIND 9.3.2

I have no idea what to do in either case.
I've asked Google, but I haven't found any answers of relevance.

That's it I guess. I hope someone out there can help me.

Thank you,
João Michigan
 From: http://www.flickr.com/photos/tags/singapore/interesting/show



-

 The World Cup Is Now On Your Favorite Front Page - check out www.yahoo.com.sg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: My DNS servers! They won't reload!

2006-07-02 Thread Atom Powers

On 7/2/06, João Michigan [EMAIL PROTECTED] wrote:

Hay!

Greetings from tropical Singapore!
(though my surroundings are pretty much concrete)
I'm experiencing difficulties reloading named on both my servers.

named.conf and zone files on both servers have been tested elsewhere
and works fine. If the problem should appear to be in one or more of
those files let me know and I will include them to this list.


Test the zone files. ( read 'man named-checkzone' ) Particularly if
you are importing from an older version of BIND.


So, here we go:

*shrug*

-- Server 1 FreeBSD 6.1-STABLE: Fri May 12 05:26:00 CEST 2006
# rndc reload
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.


Did you set up your rndc configs? Because rndc uses a password in the
conf files to communicate it will not work with a default
configuration. Read 'man rndc'.

You can also reload your configs by restarting named: `/etc/rc.d/named restart'

Also. named is configured to run chrooted by default, make sure you
run the above restart command to set the correct permissions on the
chrooted directory.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]