Hosts file manager for linux?

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
t140568
Junior Member
Junior Member
Posts: 323
Joined: Mon Mar 26, 2007 5:46 pm
Location: Tacoma, WA

Hosts file manager for linux?

#1 Post by t140568 » Sun Jan 31, 2010 6:52 am

Does anyone know of one? I expect my hosts file will be increasing in size here shortly and I'd like to have something more powerful than gedit to manage it with. Suggestions? Thanks!
Some call me...Tim.
Present: T420 | Acer C720 Chromebook

Past: T500 || X61T || X60T || R50 || X30 || T30 || A31p || 3xx || 600E || Intellistation Z Pro

neenee
Freshman Member
Posts: 104
Joined: Tue Aug 05, 2008 3:16 pm
Location: Gelderland, Netherlands

Re: Hosts file manager for linux?

#2 Post by neenee » Sun Jan 31, 2010 7:48 am

I always used nano to edit it.

You could also use vi(m) or one of the many other editors out there.

Volker
Junior Member
Junior Member
Posts: 482
Joined: Fri Oct 01, 2004 10:21 am
Location: Dublin, Ireland
Contact:

Re: Hosts file manager for linux?

#3 Post by Volker » Sun Jan 31, 2010 9:29 am

are you really talking about /etc/hosts? That file should essentially only contain 127.0.0.1 and ::1. Putting more stuff in there is just a hack; if you have a network to administer there is no way around setting up a DNS server.

That being said, on Fedora the system-config-network utility has a tab for /etc/hosts entries.

t140568
Junior Member
Junior Member
Posts: 323
Joined: Mon Mar 26, 2007 5:46 pm
Location: Tacoma, WA

Re: Hosts file manager for linux?

#4 Post by t140568 » Sun Jan 31, 2010 6:52 pm

Yep. That's the file: /etc/hosts! While I do have a 'network to administer', it's only my wife's Mac, my 3 Thinkpads, a desktop, and 2 phones that connect through wifi. Quite simply, I'm looking to use this file to block a number of websites across my network. The plan is to use the file on my DD-WRT-based router. I used to use this hosts file method awhile back when my then Windows-based R50 was alone in the house. I used to use HostsMan in Windows. It worked quite well, but won't function fully under Wine. I've also tried HostsXpert and a few others that either don't have the "search for duplicate" feature or just won't work right period.
Some call me...Tim.
Present: T420 | Acer C720 Chromebook

Past: T500 || X61T || X60T || R50 || X30 || T30 || A31p || 3xx || 600E || Intellistation Z Pro

Zedicus
Sophomore Member
Posts: 134
Joined: Fri Apr 29, 2005 4:15 pm
Location: Garden City KS

Re: Hosts file manager for linux?

#5 Post by Zedicus » Sun Jan 31, 2010 8:00 pm

there is a firewall feature in ddwrt that allows you to do that with out manually editing. maybe only in the mega? or maybe its a plugin, i dont remember, i run ddwrt but i dont block websites. just ports and things like that, also ddwrt can handle local dns dynamically also so there is no reason to have a extended local hosts file.

t140568
Junior Member
Junior Member
Posts: 323
Joined: Mon Mar 26, 2007 5:46 pm
Location: Tacoma, WA

Re: Hosts file manager for linux?

#6 Post by t140568 » Thu Feb 04, 2010 5:54 am

I ended up using OpenDNS.com/.org. Works VERY well so far, though not fool-proof. Very simple to set up and I don't have to maintain it. Worth looking at for anyone who wants to keep inappropriate things at bay.
Some call me...Tim.
Present: T420 | Acer C720 Chromebook

Past: T500 || X61T || X60T || R50 || X30 || T30 || A31p || 3xx || 600E || Intellistation Z Pro

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 3 guests