Custom DNS records with ports for different services

On my raspberry pi I have several services running on different ports and I would like to use the custom DNS records to sort them. For example:

pi.hole --> 127.0.0.1:80
pi.service1 --> 127.0.0.1:xxxxx
pi.service2 --> 127.0.0.1:xxxxx

I tried to use : or # as seperator for the port no. but this seems not to be supported until now.

DNS is unaware of any ports.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.