TurnKey Linux Virtual Appliance Library

hubdns multiple domain names for one IP address - Virtual Hosting

 

Is it possible to have two FQDNs associated with the same IP address on TKLs HubDNS ? A fairly common requirement with several Virtual Hosts on the LAMP server.

I can’t see how to do this. I’m setting the first up as follows….

$ hubdns-init QPINK3GD7HHT3A demo1.tklapp.com

But when this is repeated for the second

$ hubdns-init QPINK3GD7HHT3A demo2.tklapp.com

I get error: 'already initialised’.

Any help much appreciated.

+

.... have discovered the --force option, which allows multiple domain names to be reserved, but these can only be associated with the IP address one at a time.

Jeremy's picture

Nice find

I wasn't aware of that, but I just added it to the documentation of hubdns.

Multiple Domains to one IP - hubdns-update hubdns-release

When using multiple domains to one IP address it would be really usefull to be able to specify a particular domain (or -all) as a parameter to hubdns-update and hubdns-release. At the moment there appears to be no way to do this and only the last domain listed (somewhere!) is updated/released.

Jeremy's picture

I just added a feature request to the TKL Dev Tracker

I included a few other things in the issue request... Have a look here and see what you think...

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)