lookup host from inside guest

  • Thread starter Thread starter vlad
  • Start date Start date
V

vlad

Guest
I'm trying to build custom backup solution and was wondering if its possible to lookup hosts name/ip from inside kvm guest(debian lenny/5)? I can always pass boot parameter but I want it to be less host specific, to support network boot and etc.
 
I'm trying to build custom backup solution and was wondering if its possible to lookup hosts name/ip from inside kvm guest(debian lenny/5)? I can always pass boot parameter but I want it to be less host specific, to support network boot and etc.

...a simple and small solution could be to setup and activate dnsmasq
on the host, then use the host as nameserver from inside your VMs.