Solved

Problems with DNS

Posted on 1998-09-23
4
169 Views
Last Modified: 2010-05-18
I have to acsess I-NET using the DNS of my provider,but where should I write it in Linux RH 5.1?
Thanx
0
Comment
Question by:sam
  • 2
4 Comments
 
LVL 1

Expert Comment

by:fmismetti
ID: 1638122
If you need only to tell your system which DNS to use, edit the file /etc/resolv.conf and put two lines:

search subdomain.your-domain.com your-domain.com
nameserver nnn.nnn.nnn.nnn

Second line is important: put the IP address of the DNS server of your provider.

Don't know if is only this information you are searching, so I am posting as a comment. Let me know if you need more detail or if it is ok.

0
 
LVL 1

Accepted Solution

by:
pestilence earned 100 total points
ID: 1638123
fmismetti is right but here is how it goes:
# vi /etc/resolv.conf
search domainname.of.isp's.dnsserver
nameserver ip.address.of.nameserver

for instance i am at otenet i have configured:
search ns1.otenet.gr
domainname 190.150.0.2

so easy...
0
 

Author Comment

by:sam
ID: 1638124
Well....I simply can't connect to the Internet: my modem dials the number,then there's a long pause & the connection breaks. How can I set up the dial-up connection properly?
Thanx
0
 
LVL 1

Expert Comment

by:fmismetti
ID: 1638125
Well, your question is a little bit more complex.

Look in /usr/doc/Linux-HOWTOs for a text file named "ISP-Hookup-HOWTO". If you don't have this text, search in the SunSite ftp site (host name: sunsite.unc.edu, folder /pub/Linux/docs/HOWTO.

Good luck.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

747 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

13 Experts available now in Live!

Get 1:1 Help Now