Can this be done with DNS?

Soldato
Joined
5 Nov 2011
Posts
5,597
Location
Derbyshire
Hello,
I don't think it can but I'd be over the moon if someone could mastermind it?

Currently I access all my home content by port number;
home.domain.com:8080
home.domain.com:8081
home.domain.com:32400
and so on...

Is there a way I can set it up so that at DNS lookup level it can know which to go to?
e.g
router.domain.com > home.domain.com:8080
torrent.domain.com > home.domain.com:8081
plex.domain.com > home.domain.com:32400

I thought maybe some kind of SRV setup would help but I think I completely grasped the wrong idea of what they are for.

Anyone got any ideas?
 
Can't do it via the dns system but you could use redirection based on the hostname at the Web server level if its all http stuff.
 
It's not for a web server, it's my home server so the ports all relate to different programs rather than differentiating between web sites.

All the ports are forwarded from my router through to the pc which is doing its things.
 
Pfsense can do this with a reverse proxy plugin. Stick that in front of your Internet connection and use it as your router.

Bit of a learning curve admittedly but it is very powerful.
 
Pfsense can do this with a reverse proxy plugin. Stick that in front of your Internet connection and use it as your router.

Bit of a learning curve admittedly but it is very powerful.

Also another cool thing about using a rproxy is you can access all the above even if the internet connection you're using doesn't allow connections on the above ports (providing the webapps allow\work with it)
 
I would hazard a guess that if he doesn't fully understand what DNS actually does or he wouldnt have asked the question, then pfsense might be a little out of his league :D
 
I would hazard a guess that if he doesn't fully understand what DNS actually does or he wouldnt have asked the question, then pfsense might be a little out of his league :D

pfsense looks a little over and above me, I don't really have the capability to be implementing that.
I understand DNS to a degree, enough to know how to create basic records and point them in the right direction.
 
Back
Top Bottom