Solved

Problems with DNS

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

831 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