LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-03-2008, 04:17 AM   #1
m_abdelfattah
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Rep: Reputation: 0
CentOS on VMware - Bridge Connection - Ping - Unknown host


I've just installed CentOS 5.1 as a guest on VMware, and It was my 1st time to install linux.

and I made a bridge connection, now I can ping by IPs but can't ping by domain names !!

PLEASE, consider in your reply that am totally newbie :$

Thanks for ur time !
 
Old 08-03-2008, 04:36 AM   #2
dr.acul
LQ Newbie
 
Registered: Jun 2008
Location: Germany
Distribution: Gentoo/LFS
Posts: 27

Rep: Reputation: 15
Do you have a domain name server ?
You need a dns-server to connect to domain names.

*dg*
 
Old 08-03-2008, 04:40 AM   #3
m_abdelfattah
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
I'm using opendns.org ( 208.67.222.222 / 208.67.220.220 ) for windows, so how can I configure these DNS settings for linux ?

Last edited by m_abdelfattah; 08-03-2008 at 04:51 AM.
 
Old 08-03-2008, 05:00 AM   #4
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by m_abdelfattah View Post
I'm using opendns.org ( 208.67.222.222 / 208.67.220.220 ) for windows, so how can I configure these DNS settings for linux ?

In linux we called "bind, caching-nameserver, and bind-chroot" this is for DNS please install this all package

then u have to do configuration in /var/named/chroot/etc/named.conf
then create forward and reverse file in /var/named/chroot/var/named/

then go to vi /etc/resolve.conf
type "search ur domian name"
nameserver " ur server IP"
 
Old 08-03-2008, 05:01 AM   #5
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by rahilmaknojia View Post
In linux we called "bind, caching-nameserver, and bind-chroot" this is for DNS please install this all package

then u have to do configuration in /var/named/chroot/etc/named.conf
then create forward and reverse file in /var/named/chroot/var/named/

then go to vi /etc/resolve.conf
type "search ur domian name"
nameserver " ur server IP"
if u wanna make linux as a client then u have to do entry only in "vi /etc/resolve.conf

then go to vi /etc/resolve.conf
type "search ur domian name"
nameserver " ur server IP"
 
Old 08-03-2008, 05:22 AM   #6
m_abdelfattah
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
thanks all for ur fast responses !

but, when I try to use "Add / Remove Software ", I'm getting error "Unable to retrieve software information" because I don't have access to the internet !

So , how can I install "bind, caching-nameserver, and bind-chroot" ?
 
Old 08-03-2008, 05:33 AM   #7
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by m_abdelfattah View Post
thanks all for ur fast responses !

but, when I try to use "Add / Remove Software ", I'm getting error "Unable to retrieve software information" because I don't have access to the internet !

So , how can I install "bind, caching-nameserver, and bind-chroot" ?
Do you have CDs or DVD of CentOS if u have then install it.

if any error then let me know.
 
Old 08-03-2008, 06:27 AM   #8
m_abdelfattah
LQ Newbie
 
Registered: Aug 2008
Posts: 9

Original Poster
Rep: Reputation: 0
You're grrrrrrrrrrreat man, I changed modified the file as following, and it works fine now :

# generated by /sbin/dhclient-script
search localhost.localdomain
nameserver 208.67.222.222
nameserver 208.67.220.220


I think I'll disturb u alot in next days, cause am planning to install web server too !

Thanks again
 
Old 08-03-2008, 06:50 AM   #9
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by m_abdelfattah View Post
You're grrrrrrrrrrreat man, I changed modified the file as following, and it works fine now :

# generated by /sbin/dhclient-script
search localhost.localdomain
nameserver 208.67.222.222
nameserver 208.67.220.220


I think I'll disturb u alot in next days, cause am planning to install web server too !

Thanks again
Hahahahahah Kool, carry on with ur work v will c if any problem
 
  


Reply

Tags
bridged, centos, hostname, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bind9 ,host does reslove a dns name but ping says unknown host Byenary Linux - Networking 10 01-12-2011 01:33 AM
Unable to ping : ping: unknown host PKumar Linux - Networking 4 10-31-2007 12:43 AM
error unknown host given when trying to ping FQDN cnts-student Linux - Newbie 2 03-18-2007 01:17 PM
Slackware 10.2 - ping: unknown host TBomb Linux - Networking 4 04-17-2006 06:50 PM
Unknown Host <Linuxmachinename> / Unable to ping by host name nishi_k_79 Linux - Networking 4 11-01-2003 01:24 PM


All times are GMT -5. The time now is 11:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration