cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

VPC network tier DNS doesn't reflect VPC DNS settings

Open alexandremattioli opened this issue 1 year ago • 7 comments

ISSUE TYPE
  • Bug Report
COMPONENT NAME
VPC, VR
CLOUDSTACK VERSION
4.18, 4.19 
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

When creating a VPC a user adds DNS entries for the VPC, those DNS servers should be used by all network tiers of the VPC, but instead the network tiers still use the Zone

STEPS TO REPRODUCE
Create a new VPC
Enter DNS1 and DNS2 details
Create a network tier
Check DNS entries for the network tier
EXPECTED RESULTS
Network tiers should use VPC defined DNS entries
ACTUAL RESULTS
Network tiers use Zone defined DNS entries

alexandremattioli avatar Feb 02 '24 10:02 alexandremattioli

Can you have a look at this please? @weizhouapache

alexandremattioli avatar Feb 02 '24 10:02 alexandremattioli

Can you have a look at this please? @weizhouapache

@alexandremattioli sure, I will test it

weizhouapache avatar Feb 02 '24 10:02 weizhouapache

I was able to reproduce the issue

  • create vpc with DNS 8.8.8.8 and 1.1.1.1 image

  • create vpc tier without DNS, it has DNS servers same the data center

image

  • check the VPC VR, it uses DNSs of VPC, but VMs use VR IP and DNS of vpc tier image

weizhouapache avatar Feb 02 '24 14:02 weizhouapache

Thanks @weizhouapache

alexandremattioli avatar Feb 06 '24 20:02 alexandremattioli

Thanks @weizhouapache

@alexandremattioli I will create a fix for it.

weizhouapache avatar Feb 06 '24 22:02 weizhouapache

@alexandremattioli PR is created.

weizhouapache avatar Feb 07 '24 09:02 weizhouapache

@Pearl1594 @nvazquez related to NSX as well

alexandremattioli avatar Feb 23 '24 17:02 alexandremattioli

@weizhouapache @alexandremattioli is this solved by #8621 ? (can it be closed)

DaanHoogland avatar Jun 03 '24 13:06 DaanHoogland