Fedora Linux Support Community & Resources Center
  #1  
Old 9th November 2006, 06:31 PM
Bizen-Ya Offline
Registered User
 
Join Date: Oct 2006
Posts: 5
[FC6] /etc/hosts bypassed !

Hi,

i cant resolve hosts that are in my /etc/hosts file ... :
Code:
[root@BIZEN ~]# nslookup localhost
Server:         212.27.53.252
Address:        212.27.53.252#53

** server can't find localhost: NXDOMAIN

[root@BIZEN ~]#
btw i have the correct line in nsswitch.conf :

Code:
#hosts:     db files nisplus nis dns
hosts:      files dns
any ideas ?

Thanks
Reply With Quote
  #2  
Old 9th November 2006, 06:53 PM
cruyff888 Offline
Registered User
 
Join Date: Mar 2006
Location: Greenbrier, AR
Posts: 15
Smile

Well,

This looks more like your /etc/resolve.conf file.... here's mine for example...

[jcourvil@cruyff888 ~]$ more /etc/resolv.conf

nameserver 166.102.165.11
nameserver 166.102.165.13

You /etc/hosts file should only contain the names you want resloved.....example your local machine name.
Reply With Quote
  #3  
Old 10th November 2006, 01:27 AM
mwette Offline
Registered User
 
Join Date: Nov 2005
Location: Los Angeles area
Posts: 887
I ran into this problem. I had defined ipaddr-hostname pairs in my /etc/hosts file
and I couldn't ping by name. I found that if I turned off SELINUX and firewall things
worked. Maybe some sort of restart (name daemon) will help.
Reply With Quote
  #4  
Old 10th November 2006, 06:07 AM
Bizen-Ya Offline
Registered User
 
Join Date: Oct 2006
Posts: 5
Hi,

my /etc/hosts file is fine :

Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               BIZEN localhost.localdomain localhost
::1             BIZEN localhost.localdomain localhost
And SE linux & Firewall are disabled
Reply With Quote
Reply

Tags
bypassed, fc6, or etc or hosts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/hosts.allow and hosts.deny bigmacbb63 Security and Privacy 9 19th March 2010 10:22 PM
how to configure hosts.allow and hosts.deny nkjha Security and Privacy 4 19th January 2009 03:10 PM
Trash being bypassed zackf Using Fedora 2 7th January 2008 03:09 PM
hosts.allow GL1800 Using Fedora 7 14th September 2006 01:58 PM


Current GMT-time: 05:20 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat