Joined: 05 Feb 2006
|Posted: Sun Oct 06, 2013 11:18 pm Post subject: Local DNS pulled from KVM, + normal hosts?
This is the landscape at my home office:
- Cisco wireless AC router.
- Windows 8
- Windows Vista
- Mac OS X with Parallels VMs:
- Linux, about 6 copies.
- Mostly NAT, two bridged.
- Linux with KVM VMs:
- 12 machines and counting of various Linux distros, some of which are for testing and only come up occasionally and others of which are up continuously for services.
- Android phones.
- A couple BluRays and one smart TV.
Characteristics right now:
- On the KVM host, I can reference the guests by the name in /etc/hostname on the guest. For example, I can ssh buildbox and it knows where buildbox is, even though everything is working by dhcp. I'm using bridged networking mostly.
- I have a pretty good Cisco router, and it sees the names of real PCs but it's not picking up the VMs.
- I have the VMs all configured by dhcp, and want to keep it that way so when I clone one or move to another network (with the Mac laptop for example) I don't run into problems.
Here's what I would like advice on:
- I want to be able to have a local-only DHCP+DNS, and I want it to see virtual machines which use bridged mode networking from any device on the network.
- I would like the DNS to get the name in /etc/hostname (or the cpu-supplied computer name for non-Linux systems) automatically applied.
- Basically, the same thing that's going on with KVM would be really neat if it could be applied to the whole network.
I have experience with dhcpd and with named, but I never got DNS entries to follow the DHCP allocation, and I don't know how to make it be local network only.
A HOWTO would be fine, if somebody knows something.