mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
networkxml2xmltest: Add example of multiple addresses having the same hostname
Having multiple addresses for the same hostname is a legitimate configuration in DNS. Add test data to cover this case. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
133d05a15e
commit
21ad1dcd32
@ -8,6 +8,14 @@
|
||||
<hostname>host</hostname>
|
||||
<hostname>gateway</hostname>
|
||||
</host>
|
||||
<host ip='192.168.122.2'>
|
||||
<hostname>shared</hostname>
|
||||
<hostname>names</hostname>
|
||||
</host>
|
||||
<host ip='fd8f:1391:3a82:150::c0a8:9603'>
|
||||
<hostname>shared</hostname>
|
||||
<hostname>names</hostname>
|
||||
</host>
|
||||
</dns>
|
||||
<ip address='192.168.122.1' netmask='255.255.255.0'>
|
||||
</ip>
|
||||
|
@ -10,6 +10,14 @@
|
||||
<hostname>host</hostname>
|
||||
<hostname>gateway</hostname>
|
||||
</host>
|
||||
<host ip='192.168.122.2'>
|
||||
<hostname>shared</hostname>
|
||||
<hostname>names</hostname>
|
||||
</host>
|
||||
<host ip='fd8f:1391:3a82:150::c0a8:9603'>
|
||||
<hostname>shared</hostname>
|
||||
<hostname>names</hostname>
|
||||
</host>
|
||||
</dns>
|
||||
<ip address='192.168.122.1' netmask='255.255.255.0'>
|
||||
</ip>
|
||||
|
@ -13,6 +13,14 @@
|
||||
<hostname>host</hostname>
|
||||
<hostname>gateway</hostname>
|
||||
</host>
|
||||
<host ip='192.168.122.2'>
|
||||
<hostname>shared</hostname>
|
||||
<hostname>names</hostname>
|
||||
</host>
|
||||
<host ip='fd8f:1391:3a82:150::c0a8:9603'>
|
||||
<hostname>shared</hostname>
|
||||
<hostname>names</hostname>
|
||||
</host>
|
||||
</dns>
|
||||
<ip address='192.168.122.1' netmask='255.255.255.0'>
|
||||
</ip>
|
||||
|
@ -5,7 +5,16 @@
|
||||
<interface dev='eth0'/>
|
||||
</forward>
|
||||
<bridge name='virbr0' stp='on' delay='0'/>
|
||||
<dns forwardPlainNames='no'/>
|
||||
<dns forwardPlainNames='no'>
|
||||
<host ip='192.168.122.2'>
|
||||
<hostname>shared</hostname>
|
||||
<hostname>names</hostname>
|
||||
</host>
|
||||
<host ip='fd8f:1391:3a82:150::c0a8:9603'>
|
||||
<hostname>shared</hostname>
|
||||
<hostname>names</hostname>
|
||||
</host>
|
||||
</dns>
|
||||
<ip address='192.168.122.1' netmask='255.255.255.0'>
|
||||
</ip>
|
||||
</network>
|
||||
|
Loading…
Reference in New Issue
Block a user