[libvirt-users] network configuration for guest specific dns-servers
David Ayers
ayers at fsfe.org
Wed Aug 30 22:10:22 UTC 2017
Hello,
similar to how one can configure guest specific IP addresses via mac
addresses:
<ip address="192.168.122.1" netmask="255.255.255.0" localPtr="yes">
<dhcp>
<range start="192.168.122.100" end="192.168.122.254"/>
<host mac="00:16:3e:77:e2:ed" name="foo.example.com" ip="192.168.122.10"/>
<host mac="00:16:3e:3e:a9:1a" name="bar.example.com" ip="192.168.122.11"/>
</dhcp>
</ip>
We would like to configure guest specific dns-servers as would be done
with the --dhcp-option of dnsmasq. I was expecting to be able to do
something like:
<host mac="00:16:3e:77:e2:ed"
name="foo.example.com"
ip="192.168.122.10"
dhcp-option="dns-server,127.0.0.1" />
but it seems that this isn't the correct approach, as virsh net-edit
default removes that attribute definition.
Could someone point me to the correct documentation?
Thank you!
David Ayers
--
David Ayers - Team Austria
Free Software Foundation Europe (FSFE) [] (http://www.fsfe.org)
Join the Fellowship of FSFE! [][][] (https://fsfe.org/join)
Your donation powers our work! || (http://fsfe.org/donate)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170831/039330ae/attachment.sig>
More information about the libvirt-users
mailing list