How do you control which interface ip becomes the shortname DNS entry

Hi There

Hopefully an easy one. We have servers with multiple vlan interfaces. How do you control which vlan interface becomes the shortname DNS entry. Anyone have any idea?

1 Like

Interesting topic. I have noticed this too, would also like to know how to handle it.

You can manually create a DNS alias, I’m not currently aware of a more elegant way to do this though.

@srelf-eschercloudai, have you tried manually creating a DNS alias? it’s pretty much a one-liner in the MAAS CLI:

maas $PROFILE dnsresource-records create fqdn=$HOSTNAME.$DOMAIN rrtype=cname rrdata=$ALIAS