Freitag, 19. September 2008

Local DNS

I wanted to get rid of typing the IP-Adress everytime I want to ssh to another PC in my LAN. Accidently I found this Solution (The Observatory - Local Hostname Resolution):

host:# cp /etc/nsswitch.conf /etc/
host:# cp /etc/nsswitch.dns /etc/nsswitch.conf
host:# svcadm enable /network/dns/multicast

Now you can use the Hostname and .local to ssh or whatever to a PC in your LAN.

$ ssh myhost.local

Keine Kommentare: