Im not sure this is even possible, but would be awesome if I could define the new local DNS entries feature based on ports too.
E.G I have a server running Plex and UniFi controller (amongst other things) and would be awesome if I could say:
Hostname IP
unifi xxx.xxx.xxx.100:8443
plex xxx.xxx.xxx.100:32400