alias an ip and port

Barry Margolin barmar at genuity.net
Wed Feb 13 19:52:41 UTC 2002


In article <a4e94c$i10 at pub3.rc.vix.com>,
Jeff Kennedy <jlkennedy at amcc.com> wrote:
>Is it possible to alias a cname to an ip and port?  I have an internal
>webserver that listens on a different port than 80 and would very much
>like to have a simple name that reflects the function rather than
>hostname:port.

The experimental SRV record can be used for this, but since almost no
browsers use it, the practical answer is that DNS can't do this.  You can
do it with a redirect: the DNS entry can point to a server that listens on
port 80, and that server can be configured to send an HTTP Redirect to the
real hostname and port.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list