Hello. My name's Kate. I love Linux, WordPress - own a WordPress dedicated design studio, a beginner entrepreneur who co-founded Asia software company. This is where i blog about Linux, WordPress, daily life and other interesting stuff
Status: available

You are on the Nineteen Labs » Accessing computers on a private network by name article.

Accessing computers on a private network by name

I have this problem after OpenDNS setup, i can’t ‘browse’ computer on a private network by name, following a recommendation from OpenDNS, simple tweak in /etc/hosts file.
What is /etc/hosts file?
This is a way for hostnames to map to IP addresses. Operating system will attempt to resolve domain names to IP addresses by first accessing a local file called the “hosts” file, which is simply a database of IP-to-hostname mappings for hosts we know about—such as hosts on our local network—with the /etc/hosts file. /etc/hosts allows you to build a table in which each entry lists an IP address, its most common (or “official”) hostname, and any aliases (additional names that map to the same IP address), separated by spaces or tabs. This table is consulted before any DNS queries are made, so /etc/hosts acts both as a backup to DNS (if it’s not available) and an override (if it’s not serving correct information). DNS is queried only if the domain name that you are looking for is not listed in this file.

format
ip_address official_hostname alias1 alias2

example
192.168.x.x nineteenlabs.com nineteenlabs

When I fix this, also resolve a ftp error. Now, my ftp can use domain name

Share : These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • SphereIt
  • BlinkList
  • Reddit
  • StumbleUpon

One Response to “ Accessing computers on a private network by name ”

  1. Another option, with a free OpenDNS account, is to add such private names to the Typo Exceptions list. Described here in the context of VPNs, but same solution applies for private network names.

    http://www.opendns.com/support/article/164

    Thanks,

    John Roberts
    OpenDNS

    ps - /etc/hosts works, too, but may not be easy/obvious for all.

Add a Comment

XHTML You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site powered : WordPress. Made with PC (sorry, MAC), Coffee and Tofu