dhcpd dns server unable to modify

Bug #1464867 reported by Darryl Weaver
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Unassigned

Bug Description

In the dhcpd conf template there is the section for dns server as follows:
/etc/maas/templates/dhcp/dhcpd.conf.template:
       {{if dhcp_subnet.get('dns_servers')}}
       option domain-name-servers {{dhcp_subnet['dns_servers']}};
       {{endif}}

This results in an IP address of the MAAS server being inserted here.
However, there is no way to modify this or choose from multiple IP addresses on the MAAS server.
It may even be the case that the dns server address should be one IP address for one dhcp managed network and a different IP address on another dhcp managed network, so this should probably be an option to edit in the Cluster Interface configuration.

Tags: networking
Revision history for this message
Raphaël Badin (rvb) wrote :

You're right, the IP address that ends being passed to the node is the computed IP address of the MAAS server, as seen by the node. This needs to be configurable on a per-network basis.

Changed in maas:
milestone: none → 1.9.0
importance: Undecided → High
status: New → Triaged
tags: added: network
Gavin Panella (allenap)
tags: added: networking
removed: network
Changed in maas:
status: Triaged → Fix Committed
milestone: 1.9.0 → 2.0.0
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.