Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to setup DNS SRV records on my domain so that my players are able to connect without entering the IP address and port of my Minecraft server.

I've successfully created an A record and it's pointing to the right IP. Now, I have to create a SRV record to point to right port, but all my tries ended with connection refused in the Minecraft game client.

The service that I want to reach is sitting on and I can successfully connect to it by IP address and port.

My Current setup is:

A record

Domain         Target

SRV record

Domain                    Target         Priority    Weight    Port   5           5         27296

What am I doing wrong?

share|improve this question
Are your players entering '' as the server? If they are entering '' then I expect the SRV record would need to be (I'm assuming the minecraft client prefers SRV records over A if they are present) – USD Matt Jan 31 '13 at 14:33
I'm not sure why this question is beginning to collect close votes. Game servers are not automatically off-topic, especially something like this. – MDMarra Jan 31 '13 at 14:35
@USDMatt: Will give it try. Do i have to wait for it spreads across all DNS servers or i can try it right after the rule will be written? – Mailo Jan 31 '13 at 14:42
@MDMarra: Where do you see the close votes? – Mailo Jan 31 '13 at 14:43
I've never touched anything Minecraft-related but, zow, I'm surprised and pleased to learn that it uses SRV records! Maybe someday SRV records will actually become useful! – Evan Anderson Jan 31 '13 at 17:49
up vote 4 down vote accepted

The SRV record should be created for, not

More Info:

SRV records are not always directly under the domain name - I think this may be a fairly common misconception with SRV, partly because the poster-child application for it, Exchange/Outlook, uses the domain portion of your email address and a lot of information online generally tells you that 'you need an SRV record for your domain'.

If you enter into an SRV aware application, it will lookup the SRV record for

share|improve this answer
Well, that confirms that I'd done the right thing, so my problem is elsewhere, but at least you've narrowed down my problem space. – Jon Hanna Mar 11 '14 at 10:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.