TurnKey Linux Virtual Appliance Library

LAMP Appliance + Bind 9 + b9ddns

Anne's picture

Before I was aways struggling to configure my VPS. Since a week I started using the Turnkey Lamp appliance. It's just amazing, everything works!

There is just one problem I can't figure out:
My server needs to run its own DNS. So I installed Bind 9 with apt-get and added the b9ddns module to webmin. Also dnsutils has been installed.

The bind deamon is located here (and started):
/etc/init.d/bind9

But the b9ddns module shows the following error within webmin:
Module configuration error: The command /etc/init.d/named could not be found on your system.

What did I do wrong? 

The only named file i can find is:
/etc/bind/named.conf

Within terminal the named command itself is working perfectly.

I Googled for quite some time. Only thing that came up was something about creating an symbolic link. Unfortunately the page was in Hungarian (and Google Translate did not make any sense).

Thanks for you time!

Jeremy's picture

I used webmin-bind8 (or similar) and that worked for me

Even with BIND9. Could be worth a try? It should be in the Turnkey repo so a simple case of apt-get install webmin-bind8 (or similar - if that doesn't work try apt-cache search webmin and look for bind8 or similar - I'm just going from memory).

As for getting your current config working, I'm not really sure. You could try a sym link but it may cause unexpected results? Just make sure you keep careful track of what you do so you can easily undo it if need be.

Can anyone please tell me the

Can anyone please tell me the steps to incorporate BIND into the TurnKey Lamp Stack. And if possible to make it hardened or safe from most attacks ( hopefully all).


Jeremy's picture

As Eric said in your other thread...

Google around for some tutorials...

For starters

apt-get update
apt-get install bind9

will install it, but that will be the easy bit. Configuring it and getting it working how you want (as you described in the other thread) will be the hard part and I have no idea how you'll go with that... What Eric said sounds reasonable to me.

I'm sure it can be done, but I doubt you'll find the info here on the TKL site. If you can't find it with Google then I thnk you'll need to find a forum that specialising in hosting and ask someone there.

Thanks for the response

Thanks for the response Jeremy. Do you know if I put BIND into a chroot jail will webmin still be able to administer it?


DDNS

So, I have the same problem.

I have bind9 installed (strange thing - it istalls with default zones (127, 255 etc) only once, if you delete it, it will never create any config files again)

And I have official bind8 webmin module.

 

I have configured the zone and DHCP.

 

Now I want DHCP adding names to the zone dynamically.

 

Webmin BIND8 module doesn't support interlink with ICS DHCP.

BIND9 does.

But I am getting the message in the subj all the time. Where am I wrong?

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)