Small hack to help with DNS probs (for Linux users only)

Source: None
Published: Oct 21, 2016
Author: Me
Post Date: 2016-10-21 19:19:07 by Pinguinite
Views: 1410

If you have a Linux system, you can circumvent the DNS problems -- a little bit -- through a simple change on your computer.

Edit the file "/etc/hosts"

Add a line in it for the IP address and domain name that you frequent. So for Libertysflame.com, it would be like this:

72.14.183.194 libertysflame.com

You can do the same for www, if needed, like this:

72.14.183.194 www.libertysflame.com

Having both lines with the same IP address is fine.

You can do the same for any other web sites you frequent. You just have to find out the appropriate IP address for each domain name. One way to do that is to open a console window and type:

dig [domainname.com]

Or whatever domain name you want.

Small tip. I have trouble reaching a lot of sites but doing this means no need for DNS lookups for any domain you have listed in your /etc/hosts file which means the current attack doesn't slow you down in reaching those sites.

Post Comment   Private Reply

#1: nolu chan    To: Pinguinite (#0)

Off topic - I ran across this today and thought it might be of general interest to you, not that you need a primer.

http://motherboard.vice.com/read/hack-this-an-overdue-python-review

Hack This: An Overdue Python Primer

Written by Michael Byrne
Editor, Motherboard
October 21, 2016 // 10:00 AM EST

In writing the most recent Hack This ("Scrape the Web with Beautiful Soup") I again found myself trapped between the competing causes of blog-brevity and making sure everything is totally clear for non-programmers. It's a tough spot! Recapping every little Python (the default language of Hack This) concept is tiring for everyone, but what's the point in the first place if no one can follow what's going on?

This post is then intended then as a sort of in-between edition of Hack This, covering a handful of Python features that are going to recur in pretty much every programming tutorial that we do under the Hack This name. A nice thing about Python is that it makes many things much clearer than is possible in almost any other language.

[snip]

nolu chan posted on 2016-10-21 22:38:20   Reply   Private Reply