Answer the question
In order to leave comments, you need to log in
Forwarding port 80 in DNS records?
Good afternoon. There is a VPS machine that has an ip6 address with access to all ports, and an ip4 address with access to only 20 ports: from 11201 to 11220. First, I launched apache as standard on port 80, registered ipv6 AAAA entry in NS - checked from google-anonymizer ( translate), - everything works, but my provider can only ipv4, like many others, and there is no access to the 80th port at the ip-v4 address of the server =(, can I somehow redirect it to DNS?
On the server, you can configure apache to listen on port 11201, but how to make sure that when typing in a domain browser, users don't have to write domain.org:11201/ ?
Thank you!
Answer the question
In order to leave comments, you need to log in
What you want is implemented using SRV records. The jamb is that http-clients (that is, browsers), SRV records do not understand, and there is no standard on this topic.
(well, this is me as a comment to "No, you can't do this with DNS." - this is far from applicable to all protocols).
You need https://www.cloudflare.com/plans
No, you can't do that with DNS.
You can look in the direction of various CDNs, maybe one of them will be able to take information from a non-standard port.
there is no such perversion. It is up to the client to decide which port to access. DNS only keeps track of name matching, not port matching. ipv4 and ipv6 are addressed to the same node on the network, which means that they have the same port map, it can’t be on the same one. And in general, “open ports” is an abstract concept, meaning that there is a port listener on a specific port ( listener) and nothing interferes with this listener.
But! there is a solution. And it's simple. Nobody bothers to add additional listers to the Apache settings and use them for different virtual hosts using the same directories.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question