Devices in maas and automatic DNS entries?

Andres Rodriguez andres.rodriguez at canonical.com
Wed Feb 15 04:11:58 UTC 2017


Hi Jim,

Responses inline.

On Tue, Feb 14, 2017 at 9:40 PM, Jim Tilander <jim at tilander.org> wrote:

> Hi,
>
> I’ve been trying to get non maas controlled devices on my network
> (actually devkits) to be automatically added to the DNS. So far no luck,
> but I might be doing something wrong.
>
> In my scenario I have some DHCP enabled devices that also offer up the
> dhcp client name. I’d like for this clientname to actually get entered into
> the DNS so I can later resolve these devices.


It sounds like you only need to add a device. You can add this device
manually. Go to 'Nodes' > 'Devices' > 'Add device'. You will need to
specify the MAC and IP assignment for your device. For example, you want
your device to have an specific IP address, you can select 'Static' IP
Assignment. If you don't care which IP it gets, select 'Dynamic'. This will
automatically create a DNS entry.


>
>
I figured that I’d scan for devices on the network, find the device and
> then assign a name and a domain to it.
>
> This doesn’t actually seem to work. :(
>

By default, the 'device discovery' feature has 'Passive' scanning active.
This will only listen for ARP request. It may be the case that MAAS is
missing the specific ARP request. That said, however you can go to the
subnet where your device is and you can select the action to 'Map subnet'.
This will have MAAS scan the network via 'ping'. If you have 'nmap'
installed, it will prefer nmap over ping.

Please see https://docs.ubuntu.com/maas/2.1/en/2.1-release-notes for
further explanation.

Thanks.

>
> Is this something that is supposed to work and I’ve got some bug in my
> setup, or am I chasing something that can’t be done currently in MaaS?
>
> Cheers,
> Jim
>
>
> --
> Maas-devel mailing list
> Maas-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/maas-devel
>



-- 
Andres Rodriguez
Engineering Manager, MAAS
Canonical USA, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20170214/da04c7ff/attachment.html>


More information about the Maas-devel mailing list