mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +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>
13 lines
323 B
XML
13 lines
323 B
XML
<network>
|
|
<name>default</name>
|
|
<uuid>81ff0d90-c91e-6742-64da-4a736edb9a9c</uuid>
|
|
<forward dev='eth0' mode='nat'/>
|
|
<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>
|