Solved

Accessing name server

Posted on 2000-04-05
1
174 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
1 Comment
 
LVL 1

Accepted Solution

by:
dserna earned 100 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now