Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
Hmm ok reversed the options group to the top of the rndc.key file however it is still complaining??
Code:
Stopping domain name service...: bindrndc: error: /etc/bind/rndc.key:1: unknown option 'Options'
rndc: could not load rndc configuration
failed!
Starting domain name service...: bind.
The above error is gone as I added the options part back into rndc.key and removed rndc.conf completely. But am back to square 2 as I've already passed one!
Yeah, I didn't think that was the problem, but wanted to know for sure (thanks for verifying!). Bind doesn't have much concern about order of these groups.
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
hmm I haven't used any include statements at all!
I don't know if I need to though, but maybe the Debian implementation of this needs that?
All my google'ing for Debian and rndc keys just showed people without the 'options' part in the rndc.key file however the wierd thing is that the system complains with it or without it.
So either the server is experiancing PMT (Pre Mechanical Tension) or I'm missing something vital here.
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443
Original Poster
Rep:
???
Code:
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.
with include "/etc/bind/rndc.key"; statement added.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.