cloudstack/systemvm/debian/opt/cloud/bin/cs
Wei Zhou 9f5ac89c9a
VR: fix data-server if shared network has multiple ip ranges (#5530)
* 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
2021-10-04 11:40:25 +02:00
..
CsAddress.py cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
CsApp.py systemvm: Restricting http access on VR to internal network (#4847) 2021-04-10 13:19:31 +05:30
CsConfig.py do not put in default accept rules for DNS and BOOTPS 2020-04-16 15:09:51 +02:00
CsDatabag.py cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
CsDhcp.py VR: fix data-server if shared network has multiple ip ranges (#5530) 2021-10-04 11:40:25 +02:00
CsFile.py router: Set up metadata/password/dhcp server on gateway IP instead of guest IP in RVR (#3477) 2020-01-28 10:35:59 +05:30
CsGuestNetwork.py CLOUDSTACK-10013: SystemVM codebase refactorings and improvements 2017-12-23 09:22:44 +05:30
CsHelper.py cloudstack: make code more inclusive 2021-06-08 15:47:20 +05:30
CsLoadBalancer.py vrouter: reload haproxy when cfg file is updated (#3726) 2020-01-29 16:01:19 +05:30
CsMonitor.py Health check feature for virtual router (#3575) 2020-01-30 12:39:03 +01:00
CsNetfilter.py router: Fixes #2789 fix proper mark based packet routing across interfaces (#2791) 2018-08-08 12:05:42 +05:30
CsProcess.py systemvm: fix proc.find in CsProcess.py (#4413) 2020-10-21 19:21:54 +02:00
CsRedundant.py Merge remote-tracking branch 'apache/4.15' into main 2021-08-09 15:10:51 +05:30
CsRoute.py systemvm: for ip route show command don't use the throw command (#3612) 2019-11-11 23:47:21 +05:30
CsRule.py router: Fixes #2789 fix proper mark based packet routing across interfaces (#2791) 2018-08-08 12:05:42 +05:30
CsStaticRoutes.py CLOUDSTACK-10013: SystemVM codebase refactorings and improvements 2017-12-23 09:22:44 +05:30
__init__.py VR: fix logging is not working and logs are not appended to /var/log/cloud.log (#4466) 2020-11-20 10:40:02 +00:00