dns port forward?

roberttran

[H]ard|Gawd
Joined
Aug 15, 2002
Messages
1,471
Is it possible to port forward with DNS?
Lets say that my ISP blocks port 80 so I can't run a webserver. Can I have the webserver run on something like 8080 and have DNS point to port 8080 aswell?
I am using bind on FreeBSD.

Thanks,
Robert
 
I think I understand waht your saying, and I do the answer is no.

The port has to be specified on the client side. Wheather theres a way to include the port in the domain name I'm not sure.

You mean domain.com resolves on your DNS server to 333.333.333:8080 ??
 
Originally posted by SKiTLz

You mean domain.com resolves on your DNS server to 333.333.333:8080 ??

Yes, also something like mail.domain.com == 333.333.333.333:<not blocked port>
 
Originally posted by roberttran
Yes, also something like mail.domain.com == 333.333.333.333:<not blocked port>

You can always look at a dyanmic dns company like www.no-ip.com. I think they they can set up a dynamic route to an alternate port.
 
I would prefer to do it myself for more control if possbile.
So there isn't any bind feature to do this?

-Robert
 
SRV records will do this, but support in browsers is extremely flaky. For MTAs it's even worse, so understand that a good chunk of the world will not be able to connect to your mailserver.
 
Back
Top