mirror of https://gitee.com/openkylin/libvirt.git
16cb11a66a
Having multiple addresses having same hostname is a common config either to have IPv4 and IPv6 address for the same hostname or even for DNS round robin. The validation in the network update code didn't allow adding such entries despite the fact that it is possible to define a network with them. Don't check hostname duplicity when adding a DNS entry. The update of the test case adds another entry for the 'pudding' hostname which is added in one of the networkxml2xmlupdate test cases. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> |
||
---|---|---|
.. | ||
8021Qbh-net.xml | ||
bandwidth-network.xml | ||
dhcp6host-routed-network.xml | ||
direct-net.xml | ||
dnsmasq-options.xml | ||
empty-allow-ipv6.xml | ||
host-bridge-net.xml | ||
host-bridge-no-flood.xml | ||
hostdev-duplicate.xml | ||
hostdev-pf.xml | ||
hostdev.xml | ||
isolated-network.xml | ||
isolated-ports.xml | ||
leasetime-hours.xml | ||
leasetime-infinite.xml | ||
leasetime-minutes.xml | ||
leasetime-seconds.xml | ||
metadata.xml | ||
nat-network-dns-forward-plain.xml | ||
nat-network-dns-forwarder-no-resolv.xml | ||
nat-network-dns-forwarders.xml | ||
nat-network-dns-hosts.xml | ||
nat-network-dns-srv-record-minimal.xml | ||
nat-network-dns-srv-record.xml | ||
nat-network-dns-srv-records.xml | ||
nat-network-dns-txt-record.xml | ||
nat-network-explicit-flood.xml | ||
nat-network-forward-nat-address.xml | ||
nat-network-forward-nat-ipv6.xml | ||
nat-network-forward-nat-no-address.xml | ||
nat-network-mtu.xml | ||
nat-network.xml | ||
netboot-network.xml | ||
netboot-proxy-network.xml | ||
open-network-with-forward-dev.xml | ||
open-network.xml | ||
openvswitch-net.xml | ||
passthrough-address-crash.xml | ||
passthrough-duplicate.xml | ||
passthrough-pf.xml | ||
routed-network-no-dns-extra-elements.xml | ||
routed-network-no-dns.xml | ||
routed-network.xml | ||
set-mtu.xml | ||
vepa-net.xml |