Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Accessing name server

Posted on 2000-04-05
1
Medium Priority
?
184 Views
Last Modified: 2013-12-16
My Netscape browser cannot resolve names and in order to access an internet site I must use the IP. The message I get suggests there might be a problem with the name server so I am guessing that there is some setting which tells the browser where to find the name server, but I do not know what that setting is. Can you direct me to such a setting/file? Thanks
0
Comment
Question by:rsorrent
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
dserna earned 300 total points
ID: 2687710
Well, there are two files, that you want to check.

The first being /etc/resolv.conf which the system uses to find out what nameservers it should use.

The syntax of the file is as follows:

: dserna@ns:~: more /etc/resolv.conf
domain mydomain.com
nameserver 10.0.0.1
nameserver 10.0.2.1
nameserver 10.0.1.1

The other file you want to edit is /etc/nsswitch.conf which tells the system to use DNS for host lookups:

There should be a line in /etc/nsswitch.conf which looks like this:

hosts:      files dns

make sure you add dns next to files

Hope that helps.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question