Solved

Problems with DNS

Posted on 1998-09-23
4
171 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

832 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