Solved

SRV record _http._tcp. not working

Posted on 2011-09-12
2
711 Views
Last Modified: 2012-05-12
I have a networking device with a web interface serving HTTPS pages. There's an A record pointing to it (mydomain.com points to that device). But when people visit the domain without https (ordinary http), I want them to be directed to another server (in this case server2.mydomain.com).

Now I've created the following SRV record: _http._tcp.mydomain.com.  0  100 80 server2.mydomain.com.

When performing a lookup, it properly shows the entry. But whenever someone enters mydomain.com in their browser (and even http://mydomain.com or mydomain.com:80), they get directed to the HTTPS device which is referred to in the A record.

Did I forget to configure something? Or are A records always chosen instead of SRV records if they exist?
0
Comment
Question by:RHochstenbach
2 Comments
 
LVL 36

Accepted Solution

by:
grblades earned 250 total points
ID: 36522742
SRV records in web browsers has very limited support mainly because there is no standard on how they should work when people specify a specific port on the URL for example/
I assume the 'networking device' is not a standard web server so you cant configure it to redirect traffic sent to its http address to the https equivalent.
Your best bet would be to have the DNS point to a web server which just redirects all traffic to the (different) https address that the device listens to.

Another way would be to have a proxy server which just forwards all https traffic onto the network device while forwarding http traffic elsewhere to something which just issues a redirect. This is a bit more messy but at least people always see the same dns name.
0
 
LVL 1

Author Comment

by:RHochstenbach
ID: 36525110
Thanks for the information, I think I'll consider a proxy server as an option.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question