The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ifconfig!!!! moco Shell Programming and Scripting 3 04-12-2007 08:22 AM
Hosts.allow and hosts.deny huddlestonsnk UNIX for Dummies Questions & Answers 1 10-18-2006 11:34 AM
hosts.allow & hosts.deny Sorrento UNIX for Dummies Questions & Answers 2 08-18-2005 09:25 PM
ifconfig Jariya OS X (Apple) 0 08-12-2005 06:10 AM
ifconfig breigner UNIX for Dummies Questions & Answers 7 04-16-2004 05:14 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-13-2009
dalecosp dalecosp is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 5
Are you quite certain it's /etc/hosts, and not /etc/resolv.conf, that you are talking about? (Just curious).

Also, what is the content of /etc/host.conf?
  #2 (permalink)  
Old 01-15-2009
trutoman's Avatar
trutoman trutoman is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 21
Yes thats sure it's /etc/hosts.
And the content of my /etc/host.conf (file that i had never seen) is :

Quote:
# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on
i guess the problem its there....perhaps

/------------------------/

In response to Lazydog:

Quote:
alvaro@atm117:~$ sudo chmod 444 /etc/hosts
alvaro@atm117:~$ ls -al /etc/hosts
-r--r--r-- 1 root root 34308 2008-09-26 12:22 /etc/hosts
alvaro@atm117:~$
The permissions dont avoid system to modify etc/hosts.

I said my "/etc/hosts" is cleared, but this isn't exactly what happens, The file is 90% deleted and the 10% of the file is changed with some older ip and some kind of strange strings like:

"----------------------------" !\\\\\-----------\\\\\\" <------strange streams

Last edited by trutoman; 01-15-2009 at 11:17 AM.. Reason: Forget something
  #3 (permalink)  
Old 01-15-2009
Lazydog's Avatar
Lazydog Lazydog is offline
Registered User
  
 

Join Date: Oct 2008
Location: Chester Co., PA
Posts: 73
Quote:
Originally Posted by trutoman View Post
I said my "/etc/hosts" is cleared, but this isn't exactly what happens, The file is 90% deleted and the 10% of the file is changed with some older ip and some kind of strange strings like:

"----------------------------" !\\\\\-----------\\\\\\" <------strange streams
Could you have a script that is changing the hosts file?
Maybe one you are not aware of?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0