[aha] Cambio DNS

lo|bo lo_bo at ecn.org
Fri Sep 26 15:32:18 CEST 2008


Scusate, posto questo così provvisoriamente tutti possono vedere il 
wiki...in attesa del cambio DNS

Dovete midificare un file sul vostro computer...Per modificarlo per 
prima cosa dovete trovarlo… Negli ambienti unix (quindi anche 
linux/bsd/osx) lo trovate in “/etc/hosts”, windows invece, lo custodisce 
in “c:/windows/sistem32/drivers/etc/hosts”

Cominciamo da Windows, il file originale dovrebbe essete più o meno questo:

     # Copyright (c) 1993-2006 Microsoft Corp.
     #
     # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
     #
     # This file contains the mappings of IP addresses to host names. Each
     # entry should be kept on an individual line. The IP address should
     # be placed in the first column followed by the corresponding host 
name.
     # The IP address and the host name should be separated by at least one
     # space.
     #
     # Additionally, comments (such as these) may be inserted on individual
     # lines or following the machine name denoted by a ‘#’ symbol.
     #
     # For example:
     #
     #      102.54.94.97     rhino.acme.com          # source server
     #       38.25.63.10     x.acme.com              # x client host

     127.0.0.1       localhost
     ::1             localhost

basta modificare

     127.0.0.1       localhost
     ::1             localhost

in

     127.0.0.1       localhost
     89.96.89.204  isole.ecn.org
     ::1             localhost


In osX (10.5-leopard) invece il file hosts è più o meno questo:

     ##
     # Host Database
     #
     # localhost is used to configure the loopback interface
     # when the system is booting.  Do not change this entry.
     ##
     127.0.0.1       localhost
     255.255.255.255 broadcasthost

     ::1             localhost
     fe80::1%lo0     localhost

Potete modificarlo così:

     ##
     # Host Database
     #
     # localhost is used to configure the loopback interface
     # when the system is booting.  Do not change this entry.
     ##
     127.0.0.1       localhost
     255.255.255.255 broadcasthost

     89.96.89.204    isole.ecn.org

     ::1             localhost
     fe80::1%lo0     localhost

In fine un esempio di file hosts per linux Ubuntu originale:

     127.0.0.1 localhost

     # The following lines are desirable for IPv6 capable hosts
     ::1 ip6-localhost ip6-loopback
     fe00::0 ip6-localnet
     ff00::0 ip6-mcastprefix
     ff02::1 ip6-allnodes
     ff02::2 ip6-allrouters
     ff02::3 ip6-allhosts

e modificato:

     127.0.0.1 localhost

     89.96.89.204    isole.ecn.org

     # The following lines are desirable for IPv6 capable hosts
     ::1 ip6-localhost ip6-loopback
     fe00::0 ip6-localnet
     ff00::0 ip6-mcastprefix
     ff02::1 ip6-allnodes
     ff02::2 ip6-allrouters
     ff02::3 ip6-allhosts

trovate queste isturzioni anche su  http://www.rmsoft.net/?p=82#more-82

-- 
     [IIIII]   lo|bo
      )"""(
     /     \
    /`-...-'\
    |asprin |
  _ |`-...-'j    _
  \)`-.___.(I) _(/)                  email: lo_bo [at] ecn [dot ] org
   (I)  (/)(I)(\)
--------------------------------------------------------------------



More information about the Aha mailing list