30.07.2014, 04:19 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
Letzte Änderung am 2006-08-20 04:34:37 von Richard proofing

Erweiterungen:
# echo 123.456.78.9 www.anysite.dom anysite.dom
/etc/hosts

Löschungen:
# echo 123.456.78.9 www.anysite anysite
/etc/hosts



Editiert am 2006-08-20 04:33:49 von Richard

Erweiterungen:
62.27.12.212 www.mipooh.net mipooh.net
81.209.188.68 www.kanotix.com kanotix.com
213.198.19.91 www.knopper.net knopper.net
 -> Simply all notations of a domain separated by space(s) or tab (you can use fakes too).
And for this, I found a simple way to add new URLs: 
I just ping the website as su,


Löschungen:
62.27.12.212 www.mipooh.net mipooh.net
81.209.188.68 www.kanotix.com kanotix.com
213.198.19.91 www.knopper.net knopper.net
 -> Simply all notations of a domain separated by Space or Tab (u can use fakes too)
For this, I found a simple way to add new URLs: 
I just ping the website as su,


Editiert am 2006-08-20 04:32:15 von Richard proofing

Erweiterungen:
For this, I found a simple way to add new URLs: %% I just ping the website as su,
$ su -
# ping www.anysite.dom
PING (123.456.78.9 anysite.dom
stop it by ctrl+c if I see the IP.
Then I type:
# echo 123.456.78.9 www.anysite anysite
/etc/hosts

Löschungen:
For this, I found a simple way to add new URLs:
I just ping the website as su, stop it by ctrl+c if I see the IP.
Then I type: %%echo 123.456.78.9 www.anysite anysite
/etc/hosts



Editiert am 2006-08-20 04:27:07 von Richard

Erweiterungen:
For this, I found a simple way to add new URLs:
Then I type:
echo 123.456.78.9 www.anysite anysite >> /etc/hosts 
// (IP and hostname are fakes here)
// and by linux-magic this is appended as the last line in my /etc/hosts file. 
Good results for very little effort.


Löschungen:
For this in between I found a simple way:
Then I type: echo 123.456.78.9 www.anysite anysite >> /etc/hosts
(IP and hostname are fakes here)
and by linux-magic this is appended as the last line in my /etc/hosts file.
Good results for that little effort.



Editiert am 2006-08-20 04:25:19 von Richard

Erweiterungen:
Then I type: echo 123.456.78.9 www.anysite anysite >> /etc/hosts

Löschungen:
Then I type: echo 123.456.78.9 www.anysite anysite
/etc/hosts


Editiert am 2006-08-20 04:24:04 von Richard proofing

Erweiterungen:

Improved Speed for DNS


I've got an incredibly slow 56k modem-connection. If I already download and wish to visit a website, the search for the host takes so long, that it would not be found in time and so i don't get a connection.

Thinking about making my own DNS-server I was reminded of the /etc/hosts.
What's in there is looked up first before a DNS-server is asked for an IP.

So I did this:
I pinged all my favourites (and the debian servers of my /etc/apt/sources.list, also).
So I can see the IP numbers. (for example ping www.google.com)

I copied them all to my /etc/hosts (as su, otherwise it would not be saveable)

It looks like this:
IP Tab (or Space) Domain Domain (without www, in order for it to work without www.)
For example:
216.239.53.99     www.google.com google.com 
62.27.12.212       www.mipooh.net mipooh.net
81.209.188.68     www.kanotix.com kanotix.com
213.198.19.91     www.knopper.net knopper.net 
-> Simply all notations of a domain separated by Space or Tab (u can use fakes too)

Now if I type one of my favourite websites I am connected immediately. The searching for the host is not necessary for all my listed domains. And if I have new favourites I just add them to /etc/hosts.

For this in between I found a simple way:
I just ping the website as su, stop it by ctrl+c if I see the IP.
Then I type: echo 123.456.78.9 www.anysite anysite
/etc/hosts
(IP and hostname are fakes here)
and by linux-magic this is appended as the last line in my /etc/hosts file.

Good results for that little effort.


Löschungen:

Improved Speed for DNS


I´ve got an incredibly slow 56k modem-connection. If I already download and wish to visit a website, the search for the host takes so long, that it would not be found in time and so i don´t get a connection.

Thinking about making my own DNS-server I was reminded of the /etc/hosts.
What´s in there is looked up first before a DNS-server is asked for an IP.

So I did this:

I pinged all my favourites (and the debian servers of my /etc/apt/sources.list too).
So I can see the IP. (for example ping www.google.com)

I copied them all to my /etc/hosts (as su, otherwise it would not be saveable)

It looks like that:


IP Tab (or Space) Domain Domain(without www. as I would like it work without www. too)

Examples:


216.239.53.99 www.google.com google.com
62.27.12.212 www.mipooh.net mipooh.net
81.209.188.68 www.kanotix.com kanotix.com
213.198.19.91 www.knopper.net knopper.net
-> Simply all notations of a domain separated by Space or Tab (u can use fakes too)

Now if I type one of my favourite websites I am connected immediately. The searching for the host is not necessary for all my listed domains. And if I have new favourites I just add them to /etc/hosts.

For this in between I found a simple way:
I just ping the website as su, stop it by ctrl+c if I see the IP.
Then I type: echo 123.456.78.9 www.anysite anysite
/etc/hosts (IP and hostname are fakes here)

and by linux-magic this is the last line in my /etc/hosts.

Good results for that little effort.


älteste bekannte Version dieser Seite wurde bearbeitet am 2004-06-08 08:32:14 von AndyMcCoy [ ]

Improved Speed for DNS


I´ve got an incredibly slow 56k modem-connection. If I already download and wish to visit a website, the search for the host takes so long, that it would not be found in time and so i don´t get a connection.

Thinking about making my own DNS-server I was reminded of the /etc/hosts.
What´s in there is looked up first before a DNS-server is asked for an IP.

So I did this:

I pinged all my favourites (and the debian servers of my /etc/apt/sources.list too).
So I can see the IP. (for example ping www.google.com)

I copied them all to my /etc/hosts (as su, otherwise it would not be saveable)

It looks like that:


IP Tab (or Space) Domain Domain(without www. as I would like it work without www. too)

Examples:


216.239.53.99 www.google.com google.com
62.27.12.212 www.mipooh.net mipooh.net
81.209.188.68 www.kanotix.com kanotix.com
213.198.19.91 www.knopper.net knopper.net
-> Simply all notations of a domain separated by Space or Tab (u can use fakes too)

Now if I type one of my favourite websites I am connected immediately. The searching for the host is not necessary for all my listed domains. And if I have new favourites I just add them to /etc/hosts.

For this in between I found a simple way:
I just ping the website as su, stop it by ctrl+c if I see the IP.
Then I type: echo 123.456.78.9 www.anysite anysite
/etc/hosts (IP and hostname are fakes here)

and by linux-magic this is the last line in my /etc/hosts.

Good results for that little effort.

:de: TempoFuerModems
Letzte Revision :
Letzter Editor :
Eigentümer :
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.