Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Current environment is several Linux boxes in a couple of logically separated "datacenters" running virtual guests that are created and deleted on demand.
DNS and DHCP run in another box and should serve all the virtual servers.

What I want is to create and remove virtual instances on demand without touching DNS and DHCP server configurations, I've certain freedom to prepare the guests but I'd like to avoid consulting central servers on guest creation.

So, ideally I would like just to create a guest with a hostname "" and start it, it'd get ip from "" dhcp and register at "" DNS. So that I can just create the instance and ssh into it.

I believe some combination of DHCP and DDNS could work, but I want to ensure that there aren't easier alternatives or confirm that DHCP and DDNS is the way to go.

Although i've read some bad stuff about Dynamic DNS..

share|improve this question

you can use some mac table for guest machines and register them with dhcpd/ddns . and write this mac to yours virtual interface in guest vm.

share|improve this answer
But that would require changing stuff in dhcp/dns servers each time I add or remove a machine, which is something I'd like to avoid. – Arkaitz Jimenez Apr 29 '11 at 14:13
then you shoud try to use single DB for that. check for viper project – MealstroM Apr 29 '11 at 14:41
could you elaborate on that? I can't find anything googling for viper project – Arkaitz Jimenez Apr 29 '11 at 18:02
@Arkaitz Jimenez – MealstroM Apr 30 '11 at 12:30

Have you considered using Avahi/Bonjour for automatic Multicast DNS?

share|improve this answer
Looks like it could do the job, but being serverless doesn't look like is going to scale too good nor through different subnets. – Arkaitz Jimenez Apr 29 '11 at 14:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.