[enhancement] Allow MAAS DNS to resolve from subnets without modeling their fabric and vlan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Undecided
|
Andres Rodriguez |
Bug Description
When operating as a forwarding DNS server, maas refuses queries from subnets it doesn't know about. A subnet must be added to MAAS in order for it to answer.
This is inconvenient because it requires adding subnets to MAAS which MAAS will never manage otherwise, and may not be known ahead of time. For example, when using DNS-HA OpenStack deployed on MAAS, all of the subnets OpenStack clients might come from must be added to MAAS so that MAAS can be used as the DNS server for those clients, which must also resolve non MAAS owned domains, even though MAAS will never own machines on those subnets, and we may not know all the subnets that will use the OpenStack.
Typically a network admin would control such access using firewall rules. In this case, they would also have to add subnets to MAAS.
I'm not sure why MAAS does this - it's not clear. It seems like ACLs like this should be left up to firewalls. There should at least be an option to disable this.
Related branches
- MAAS Lander: Approve
- Blake Rouse (community): Approve
-
Diff: 515 lines (+311/-7)11 files modifiedsrc/maasserver/dns/config.py (+13/-2)
src/maasserver/dns/tests/test_config.py (+40/-0)
src/maasserver/fields.py (+64/-0)
src/maasserver/forms/__init__.py (+1/-0)
src/maasserver/forms/settings.py (+17/-0)
src/maasserver/models/config.py (+1/-0)
src/maasserver/tests/test_fields.py (+107/-0)
src/maasserver/triggers/system.py (+8/-4)
src/maasserver/triggers/tests/test_system_listener.py (+52/-0)
src/maasserver/views/tests/test_settings.py (+7/-1)
src/provisioningserver/dns/actions.py (+1/-0)
description: | updated |
tags: | added: cdo-release-blocker |
tags: | removed: cdo-release-blocker |
summary: |
- [enhancement] MAAS denies recursive DNS queries from subnets it doesn't - know about + [enhancement] Allow MAAS DNS to resolve from subnets it doesn't know + about (or trust) |
tags: | added: dns |
summary: |
- [enhancement] Allow MAAS DNS to resolve from subnets it doesn't know - about (or trust) + [enhancement] Allow MAAS DNS to resolve from subnets without modeling + their fabric and vlan |
Changed in maas: | |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | Triaged → In Progress |
tags: | added: track |
Changed in maas: | |
milestone: | 2.5.0 → 2.5.0alpha2 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
@Jason,
I wonder if what you are running against is https:/ /bugs.launchpad .net/maas/ +bug/1670886
Can you try manually using that option? If so we can fix MAAS to do it by default.