mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
22547b4c98
Useful to set custom forwarders instead of using the contents of /etc/resolv.conf. It helps me to setup dnsmasq as local nameserver to resolve VM domain names from domain 0, when domain option is used. Signed-off-by: Diego Woitasen <diego.woitasen@vhgroup.net> Signed-off-by: Eric Blake <eblake@redhat.com>
15 lines
360 B
XML
15 lines
360 B
XML
<network>
|
|
<name>default</name>
|
|
<uuid>81ff0d90-c91e-6742-64da-4a736edb9a9c</uuid>
|
|
<forward dev='eth0' mode='nat'>
|
|
<interface dev='eth0'/>
|
|
</forward>
|
|
<bridge name='virbr0' stp='on' delay='0'/>
|
|
<dns>
|
|
<forwarder addr='8.8.8.8'/>
|
|
<forwarder addr='8.8.4.4'/>
|
|
</dns>
|
|
<ip address='192.168.122.1' netmask='255.255.255.0'>
|
|
</ip>
|
|
</network>
|