Skip to content

External DNS servers provided with use.external.dns disabled #9003

@dalax01

Description

@dalax01
ISSUE TYPE
  • Bug Report
COMPONENT NAME
VR / Isolated network
CLOUDSTACK VERSION
4.18.1.1
CONFIGURATION

Global setting:
use.external.dns = false

SUMMARY

When setting 'use.external.dns' is set to false, I expect to only receive the internal (VR) IP as DNS server.
However, it returns both internal + external DNS servers.

Providing external DNS servers is addition to the internal gives problems resolving instances hostnames in the same isolated network as these mappings are not available in external dns servers.

STEPS TO REPRODUCE
Set 'use.external.dns' to true
Restart isolated network with cleanup
Set 'use.external.dns' to false
Restart isolated network with cleanup
EXPECTED RESULTS
With setting on true: 
External DNS provided by DHCP (file /etc/dnsmasq.conf on VR)
dhcp-option=6,<external_dns_ip_1>,<external_dns_ip_2>
With setting on false: 
Internal DNS provided by DHCP (file /etc/dnsmasq.conf on VR)
dhcp-option=6,<virtual_router_ip>
ACTUAL RESULTS
With setting on true: 
External DNS provided by DHCP (file /etc/dnsmasq.conf on VR)
dhcp-option=6,<external_dns_ip_1>,<external_dns_ip_2>
With setting on false: 
Internal + External DNS provided by DHCP (file /etc/dnsmasq.conf on VR)
dhcp-option=6,<virtual_router_ip>,<external_dns_ip_1>,<external_dns_ip_2>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions