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

x
?
Solved

Problems with DNS

Posted on 1998-09-23
4
Medium Priority
?
191 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
[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
  • 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 200 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

721 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