Blocking ads with the Hosts file?

Can this be done with SUSE 10? I just tried that and it wouldn't let me. I know that on Windows, you can assign 127.0.0.1 to the name of any domain you want to block and use that for as many domains as you want. With SUSE, it allows this number to be used only once.
So, how can I block unwanted website addresses with SUSE 10?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.