apologies, I see you’re using MAAS.
Each NIC on a MAAS metal gets a DNS entry of $nic.$hostname.$MAAS_DOMAIN. the NIC that gets the $hostname.$MAAS_DOMAIN interface is the nic used for enlistment/PXE booting, IIRC.
If your deeper interest is, for instance, having designated DNS entry you can use to hit the active openstack-dashboard lxd unit, then you’ll want to look into setting os-public-hostname, os-internal-hostname, and os-admin-hostname on each charm (keystone, openstack-dashboard, nova-cloud-controller, neutron-api, ceph-radosgw, etc) and set the vip config on each charm to a reserved IP address that you’ve made manual DNS entries for within MAAS DNS or your corporate DNS structure.
As an example, if your os-public-hostname is dashboard.mycloud.com and your internal is os-internal-hostname = dashboard-internal.mycloud.com.
You’ll need to reserve IP space on your subnets in maas, and then manually create dns entries for both dashboard.mycloud.com and dashboard-internal.mycloud.com that point to those reserved IPs. Then on openstack-dashboard set vip=10.0.0.25,192.168.0.25 (assuming those are example public and internal VIPs you’ve reserved).