?
Solved

Red Hat Named

Posted on 2003-02-21
9
Medium Priority
?
318 Views
Last Modified: 2013-12-06
I am new to DNS and Red Hat. My first problem is every time I restart named i get the following message:

Couldn't find server 'localhost': Name or service not known.

What can i do to stop this. (I told you dont know anything about DNS!)

and my second problem is:

I have a linux box with server named linuxserver. I can access this over the network using http://linuxserver
I want to be able to bind the same IP to http://something.linuxserver, is this possible with networking?

Cheers
0
Comment
Question by:etix6x2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 3

Expert Comment

by:MrAhmad
ID: 7994422
as a root type :

echo "127.0.0.1       localhost.localdomain   localhost" > /etc/hosts
0
 
LVL 46

Expert Comment

by:Kent Olsen
ID: 7994921

Better yet, ADD the item that MrAhmad quoted to your /etc/hosts file.  His solution will overwrite any existing entries.

0
 

Expert Comment

by:Cygnus78
ID: 7998276
echo "127.0.0.1       localhost.localdomain   localhost" >> /etc/hosts

Will append to /etc/hosts
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:etix6x2000
ID: 8007125
Thanks thats my first problem sorted. ANy ideas on the second????
0
 
LVL 46

Expert Comment

by:Kent Olsen
ID: 8008108

Within your BIND setup files you can create as many names an aliases as you see fit.  For a "first stab" at the problem just go ahead and define an entry for "something.linuxserver" that (except for the name) looks just like the entry for "linuxserver".  Once you've gotten this resolved I would change the configuration files to include the reverse lookup and make proper use of the ALIAS directive.

You might also add the "something.linuxserver" name to the /etc/hosts file.

Kdo
0
 

Author Comment

by:etix6x2000
ID: 8063344
Con you be a little more in depth.
Thanks
0
 

Expert Comment

by:CleanupPing
ID: 9087921
etix6x2000:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9259374
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Be PAQ'd/Points No Refunded

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer
0
 

Accepted Solution

by:
YensidMod earned 0 total points
ID: 9325408
PAQed per request/recommendation - No Refund

YensidMod
Community Support Moderator
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question