Solved

SRV record _http._tcp. not working

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Resolve DNS query failed errors for Exchange
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now