PDA

View Full Version : wrong hostname?


Rian8605
09-20-2007, 12:13 PM
i nmap'd my server this morning...and the hostname showed up as "chg-1.dsi-gaming.com"...shouldn't the hostname be the hostname i set on my server? if not, shouldn't it be something like "...nozone.net..." or "...steadfast.net"??

also when I open putty and type in a domain name that is on my server, in the title bar of the putty window reads "chg-1.dsi-gaming.com" until I login...

if i colocated more than one server with them, and had a more expensive connection, I'd bother steadfast themself...

until then....anyone know what might be going on?


as a sidenote...

uname -n
hostname -a
hostname -s
hostname -d
hostname -f
hostname

those all return the right hostname....


edit: i wouldn't much care that it is wrong if it at least the hostname was "steadfast.net" or something affiliated with them or myself...

bg
09-20-2007, 02:48 PM
It's probably just a recycled IP address that didn't have it's Reverse DNS (http://en.wikipedia.org/wiki/Reverse_DNS_lookup) entry reset.

Just open a ticket with Steadfast and tell them what you want the reverse DNS to resolve to and I'm sure they'll take care of it. I've had this same thing happen with multiple providers, but has never been a big deal because I always request custom reverse DNS entries (which is probably what they usually expect which may be why they don't change it until you tell them what you want it to be).

Rian8605
09-20-2007, 03:24 PM
tell them where i want it to resolve to?...can you be more clear?...

the site is hosted on my server....on one of my ip's...i did a lookup on all of my ip's...says they're owned by that gaming site...wtf... =(

my site still works...

Ray
09-20-2007, 09:06 PM
That's a reverse DNS entry which associates an IP address to a hostname. It is set on the Steadfast DNS servers, and it really doesn't have an effect on functionality, though it can affect mail servers.

Just open a ticket to dns@steadfast.net letting them know the hostname you want associated with each IP. For best results, the hostname should have an A record pointing to that IP address.

Examples:

1.2.3.4 - web.yourdomain.com or mail.yourdomain.com
1.2.3.5 - something.yourdomain2.com

They can be pretty much anything you want, but as mentioned, for best results, they hostname should resolve to that IP address.