Solved

Problems with DNS

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

685 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