LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2004, 12:13 AM   #1
ericnmu
LQ Newbie
 
Registered: Jul 2004
Location: Madison, WI
Posts: 21

Rep: Reputation: 15
hostname updated, but not resolving


I've been browsing the google and these forums, and I have found a lot of questions about chaning the hostname, which I have followed to a T.

Heres my situation: I'm setting up a server for the first time, and I am going to do all the work remotely. To do this I will need to change the hostname, so I can access it on my dynamic network. I am running RH9, and made the appropriate changes. It appears that the hostname is helios (thats the server name).

The network I am on uses a dynamic dns, so I should be able to access the server by helios.resnet.nmu.edu, but this is not working.
A windows box can be accessed by computername.resnet.nmu.edu. Is this something different than the hostname?

I'll be hitting the refresh. I am just about stuck.
thanks - eric
 
Old 09-09-2004, 12:49 AM   #2
imezsons
LQ Newbie
 
Registered: Sep 2004
Location: india
Posts: 14

Rep: Reputation: 0
what are the changes u made?????

have u changed the host name in /etc/sysconfig/network??

what is the zone file u have created in /etc/named.conf???

what is the appropriate file u have created in /var/named?? (check if the entries are correct)

have u given ur system's IP as the gateway in /etc/resolv.conf??

have u given the name in search in /etc/resolv.conf??(if u have doughts just remove the line)

if all the entries are correct just restart the server and check the log message if u have got every thing rite using "tail -v /var/log/messeges"

if this is ok then check if u can get the host resolved in your local system using
"host FULLY-QUALLIFIED-DOMAIN-NAME"(FULLY-QUALLIFIED-DOMAIN-NAME should be replaced with your own F-Q-D-N)

if every thing is ok then try giving "iptables -F"

then try to access the host from other host in the network.

hope this should solve the issue.else update hear or mail me with all file configuration details.

regards
lenin
 
Old 09-09-2004, 12:51 AM   #3
ericnmu
LQ Newbie
 
Registered: Jul 2004
Location: Madison, WI
Posts: 21

Original Poster
Rep: Reputation: 15
thanks for the reply. I'll give that a try right now.
 
Old 09-09-2004, 01:16 AM   #4
ericnmu
LQ Newbie
 
Registered: Jul 2004
Location: Madison, WI
Posts: 21

Original Poster
Rep: Reputation: 15
I guess I can re-phrase my question to make it a little easier.

In Windows, the computer name can be used to access the machine on the network, such as computername.resnet.nmu.edu.
Is there an equivilent to the "computer name" for linux RH9? I have already changed the hostname.
 
Old 09-09-2004, 01:27 AM   #5
ericnmu
LQ Newbie
 
Registered: Jul 2004
Location: Madison, WI
Posts: 21

Original Poster
Rep: Reputation: 15
I think I figured it out. I was making all the changes via command line, yet I was in gnome. It turns out when RH started, it used its config and over wrote my modified ones because I did not check the profile for the device.

Thanks for the help.
 
Old 09-09-2004, 05:34 AM   #6
imezsons
LQ Newbie
 
Registered: Sep 2004
Location: india
Posts: 14

Rep: Reputation: 0
there is an equivilent service in linux ,it is DNS.anyway thanks for infoming tht the problem is solved.

regards
lenin
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Resolving Hostname in any browser elias4444 Debian 1 09-10-2004 11:12 AM
Slow resolving DNS Hostname rmainville Linux - Networking 3 09-03-2004 11:16 AM
Resolving Hostname on Slackware MrCarl Linux - General 3 11-05-2003 06:39 PM
/etc/hosts resolving before DNS resolving ? markraem Linux - Networking 4 11-02-2003 04:54 AM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration