SRV DNS Records had support added in 1.3.1. They let domains forward to minecraft server ip's and their ports. My domain is puffybugs.com (I know, it's epic :D) and the port I need is 25565. My ip address is 188.8.131.52. I would really appreciate any help you could give me. Thanks in adance!
Access your "DNS Zone Editor" If your using cPanel, this would be under "Domains"
Add an "A Type" Record And then just add the server ip under "Address".
And then people can type in "Your domain name.whatever" and it will take them to your server
*Note the default port is 25565 so if your server is 10.0.0.0:25568
They will have to do the following: yourdomainname.com:25568
*Note: You can't make it so that "yourdomainname.com" links to 10.0.0.0:25486. It hast to be 25565 otherwise add the port at the end
And no one can do it for you without proper access.
I understand fully how to setup "A Type" records; that is what I use at the moment. However my domain also has the ability to set SRV DNS Records, which allow the domain to point to the ip address AND a port. (Read http://en.wikipedia.org/wiki/SRV_record)
Don't forget, a SRV record can not be pointed to a CNAME, it has to be the name listed in an A record.
What have you tried so far? If it helps any, doing a google/yahoo/dogpile/etc for 'setup srv bind' turns up a lot of information on setting one up under bind, but is still useful to know what field does what.
Private Mod Note
Rollback Post to RevisionRollBack
Former Support Guru, master of the I-have-little-time-so-I-drive-by-post style.
Please don't PM me for help, PM's don't help the community at large as it's not publicly viewable.
Use pastie or pastebin for config files, I do not download them.
Thank-you so much for all the details posted here - has helped tremendously! I'm in the midst of setting up a server for my son and buddies and so far so good. I'm stuck at what I hope is the final step. The system is setup as follows:
- Server One is setup on port 25565 and can be reached from the outside world at name.homeserver.com. I have been running this for a year or so with no issues at all. I haven't had to do any special mapping or anything for this.
- Server Two is setup on the same machine, port 25570. It can be reached at 184.108.40.206:25570 with no issues.
For the domain I've set up for my son, I want game.surviveminecraft.com to point to 220.127.116.11:25570.
- I have setup surviveminecraft.com with no issues (placeholder is there right now for a website)
- I have setup an "A" record with game.surviveminecraft.com pointing to 18.104.22.168. This works as when I enter "game.surviveminecraft.com" into "join server", it connects no issues (it just connects to Server One - port 25565)
- I have setup a SRV record as follows:
Value: 0 5 25570 game.surviveminecraft.com.
Any reason why game.surviveminecraft.com wouldn't load up Server Two?
- Both records "A" and "SRV" were created Friday night - "A" already works.
- The string that would have been entered (using Dreamhost which is why the above is laid out as Dreamhost has it) would look like: _minecraft._tcp.surviveminecraft.com. 3600 IN SRV 0 5 25570 game.surviveminecraft.com.
Is there any way for me to validate and/or list the "SRV" record on this domain through command-line and/or another tool?
On a totally different note, to see what my son has built in the past, complete with a time-lapse video, check out thanesproject.com
Simply put, my SRV Record was for _minecraft._tcp and it should have been _minecraft._tcp.game
So, to summarize (hoping this will help somebody someday):
I have two servers (one on default and one on 25570) and I wanted to map game.surviveminecraft.com to 25570.
1) Register www.surviveminecraft.com with somebody
2) Setup an "A record" pointing game.surviveminecraft.com to the external IP of my minecraft server
3) Setup a "SRV record" binding _minecraft._tcp to game.surviveminecraft.com at port 25570.
_minecraft._tcp.surviveminecraft.com. 3600 IN SRV 0 5 25570 game.surviveminecraft.com.
_minecraft._tcp.game.surviveminecraft.com. 3600 IN SRV 0 5 25570 game.surviveminecraft.com.
Dreamhost automatically did the "3600" portion of the above so that's the only one I'm not 100% sure on. Otherwise, I flushed the DNS cached, waited about 30 min and my boy and his buddies are now using game.surviveminecraft.com to play while my other boys are using a different address to play on their own server - both of which are hosted on one machine. Woot!