Getting your server name to show up on metaserver

All your MAngband related technical questions answered. Problems compiling or running the game/server? No problem! Ask here.
Post Reply
Big_Juan_Teh_Furby
Iridescent Beetle
Posts: 244
Joined: Sun 27.10.2002, 21:16
Location: Eugene, OR
Contact:

Getting your server name to show up on metaserver

Post by Big_Juan_Teh_Furby » Fri 14.10.2005, 22:53

Berendol, how did you get your server's name to show up on the metaserver?  I know there's a configuration to set where you can tell what to report to the metaserver, but Angus tried that, and it only shows our IP address...not the name we're specifying.

(And yes, we're doing a regular name...www.bigjuan.net, to be precise).
When the winds of change blow hard enough, the most trivial of things can turn into deadly projectiles.

Berendol
Evil Iggy
Posts: 868
Joined: Mon 11.11.2002, 19:13
Location: Loot Pile
Contact:

Re: Getting your server name to show up on metaser

Post by Berendol » Sun 16.10.2005, 03:12

Ehhhm, I don't know, that's the name you'd get if you did a reverse DNS lookup on that box's IP. It was actually registered by campus ITS under the .RIT.EDU domain. See if that's the problem: try performing one from another machine.

I had everything in the server config set up the way it should be, and I presume you can figure out what that should be - the (sparse) informational texts and comments are clear on the process.
By appreciation, we make excellence in others our own property. (Voltaire)

Jug
King Lich
Posts: 342
Joined: Sat 26.10.2002, 15:00
Location: UK
Contact:

Re: Getting your server name to show up on metaser

Post by Jug » Fri 18.11.2005, 19:01

If you start a server and only your server's IP address shows on the Meta Server list then the server doesn't have a reverse DNS record.  This is not uncommon, particularly on shared hosting.  

The Meta Server only uses reverse DNS as a fall back if it isn't passed a symbolic name.  So the solution to your problem is to pass the Meta Server the name you want it to display in the server list.  This name must resolve via forward DNS to the IP address of your server, obviously.

To pass the symbolic hostname to the Meta Server don't use the settings in the  mangband.cfg file, they don't work.  What you need to change are the defines in config.h, BIND_NAME and (optionally) BIND_IP.
                                               
So in config.h you have:
                                               
[pre]#define      BIND_NAME "my.servername.com"[/pre]

Then recompile the server.

I hope that helps.

- Jug

Big_Juan_Teh_Furby
Iridescent Beetle
Posts: 244
Joined: Sun 27.10.2002, 21:16
Location: Eugene, OR
Contact:

Re: Getting your server name to show up on metaser

Post by Big_Juan_Teh_Furby » Wed 22.03.2006, 16:53

Are you (or anyone else) 100% sure this is correct?

I've modified (as Angus had before me) this numerous times and recompiled to no avail.

I've got DNS records in for http://www.bigjuan.net (and I just put one in for mangband.bigjuan.net, just to be sure), yet when I change the option in config.h and recompile, I sill only get an IP address.

Do I need to specify something in the bind_ip field as well, or can I just leave that blank?  The MAIN issue with my server is that I don't have a static IP, and since my ISP sucks, I can change IP addresses every week or so...so, if people see "mangband.bigjuan.net", they'll know it's my server regardelss as to what IP I'm on.

(I've already got a program that sees IP address changes and updates my DNS records, btw).
When the winds of change blow hard enough, the most trivial of things can turn into deadly projectiles.

Berendol
Evil Iggy
Posts: 868
Joined: Mon 11.11.2002, 19:13
Location: Loot Pile
Contact:

Re: Getting your server name to show up on metaser

Post by Berendol » Wed 22.03.2006, 18:47

I'm pretty sure your ISP is at fault here. It's working for everyone else who has a DNS entry. Wonder if Crimson has any insights?
By appreciation, we make excellence in others our own property. (Voltaire)

Domino
Giant Hunter Ant
Posts: 173
Joined: Sat 26.10.2002, 22:42
Location: Mountain View, CA  U.S.A.

Re: Getting your server name to show up on metaser

Post by Domino » Wed 22.03.2006, 19:49

Welp the strange thing is that this is with a different ISP than we were using last time.  Currently it's Centurytel (which blows large donkeys) and previously it was Comcast.  I remember trying to set up the bind_ip as well as bind_name and it never worked for us.
King of the Hill Baby!

Berendol
Evil Iggy
Posts: 868
Joined: Mon 11.11.2002, 19:13
Location: Loot Pile
Contact:

Re: Getting your server name to show up on metaser

Post by Berendol » Thu 23.03.2006, 00:06

Seems like your server is getting rejected. Maybe if you talk real nice to the meta-server, buy it dinner, and send it flowers?

Have you tried DynIP? I see they have a 30-day free trial and I am curious to see if it would work out for you.

Anyways, it does seem like your ISP might be either deliberately blocking you from setting that sort of thing up, or they are really so incompetent that something in their infrastructure is broken. I'd send them a nice polite email asking if you can host your own website on your computer, and see if they can get your DNS troubles figured out. Don't mention "game server" when you're talking to them because usually that means something that invites hackers and high bandwidth usage.

You could fill in the IP field. Does that fix it? Maybe the network code needs an examination. You could have a script run whenever you know your IP should change that: replaces it, deletes any object files that are altered by that redefinition, and remakes the server or maybe once/twice a day. (As an aside, do your testing and development outside that source tree.)
By appreciation, we make excellence in others our own property. (Voltaire)

Big_Juan_Teh_Furby
Iridescent Beetle
Posts: 244
Joined: Sun 27.10.2002, 21:16
Location: Eugene, OR
Contact:

Re: Getting your server name to show up on metaser

Post by Big_Juan_Teh_Furby » Thu 23.03.2006, 11:04

I've actually already have a free dynamic dns thing...zoneedit.com.  Hooray for free dns!

That also leads me to believe it's not really an ISP issue, as my domain resolves just fine to my box.
When the winds of change blow hard enough, the most trivial of things can turn into deadly projectiles.

Domino
Giant Hunter Ant
Posts: 173
Joined: Sat 26.10.2002, 22:42
Location: Mountain View, CA  U.S.A.

Re: Getting your server name to show up on metaser

Post by Domino » Fri 31.03.2006, 12:30

Also I have filled in the IP field.. It didnt work either.  When we were using Comcast we got an extremely stable 2 week lease.  It rarely if ever gave up the lease prior to that and in fact we generally got the same IP back again.  I think at one point we had the same IP for something on the order of 8 months or so wasn't it Furby?
King of the Hill Baby!

Big_Juan_Teh_Furby
Iridescent Beetle
Posts: 244
Joined: Sun 27.10.2002, 21:16
Location: Eugene, OR
Contact:

Re: Getting your server name to show up on metaser

Post by Big_Juan_Teh_Furby » Fri 31.03.2006, 16:56

Aye...it was for a looooooong time.
When the winds of change blow hard enough, the most trivial of things can turn into deadly projectiles.

Post Reply