Solved

SRV record _http._tcp. not working

Posted on 2011-09-12
2
716 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DNS @ Naked Domain Record 5 104
ISP Change 14 63
PC trouble to connect to file server 6 40
DNS CNAME records visibility on a web server 2 18
This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 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