mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
* VR: fix data-server if shared network has multiple ip ranges This fixes #5518 * Update PR #5530: fix nameserver in vm with IP in additional IP ranges without this change ``` root@r-757-VM:~# cat /etc/dnsmasq.d/cloud.conf listen-address=127.0.0.1,10.10.12.31,10.10.13.19 dhcp-range=set:interface-eth0-0,10.10.12.31,static dhcp-option=tag:interface-eth0-0,15,cs1cloud.internal dhcp-option=tag:interface-eth0-0,6,10.10.12.31,10.0.32.1,8.8.8.8 dhcp-option=tag:interface-eth0-0,3,10.10.12.254 dhcp-option=tag:interface-eth0-0,1,255.255.255.0 dhcp-range=set:interface-eth0-1,10.10.13.19,static dhcp-option=tag:interface-eth0-1,15,cs1cloud.internal dhcp-option=tag:interface-eth0-1,6,10.10.12.31,10.0.32.1,8.8.8.8 <<< nameserver 10.10.12.31 dhcp-option=tag:interface-eth0-1,3,10.10.13.254 dhcp-option=tag:interface-eth0-1,1,255.255.255.0 ``` with this change ``` root@r-757-VM:~# cat /etc/dnsmasq.d/cloud.conf listen-address=127.0.0.1,10.10.12.31,10.10.13.19 dhcp-range=set:interface-eth0-0,10.10.12.31,static dhcp-option=tag:interface-eth0-0,15,cs1cloud.internal dhcp-option=tag:interface-eth0-0,6,10.10.12.31,10.0.32.1,8.8.8.8 dhcp-option=tag:interface-eth0-0,3,10.10.12.254 dhcp-option=tag:interface-eth0-0,1,255.255.255.0 dhcp-range=set:interface-eth0-1,10.10.13.19,static dhcp-option=tag:interface-eth0-1,15,cs1cloud.internal dhcp-option=tag:interface-eth0-1,6,10.10.13.19,10.0.32.1,8.8.8.8 <<< nameserver 10.10.13.19 dhcp-option=tag:interface-eth0-1,3,10.10.13.254 dhcp-option=tag:interface-eth0-1,1,255.255.255.0 ``` * Update #5530: add 'localise-queries' to /etc/dnsmasq.conf