LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-17-2004, 03:37 PM   #1
mustangfanatic
LQ Newbie
 
Registered: Oct 2004
Location: Michigan
Distribution: SuSe, Fedora Core
Posts: 15

Rep: Reputation: 0
/etc/resolv.conf


I need help in setting up this file correctly. I have my network all setup correctly, I am able to ping lan pcs and even internet ips, but I cannot resolve any dns. /etc/resolv.conf wasn't even on my system so I made on but I'm not sure what to put in to it so my internet can work.

nameserver = ?

Do I just put my gateways ip here, or my wan ip? Any other lines needed? Any help would be appreciated.

BTW I'm running suse 9.1 The connection is DSL handled by my WRT-54G linksys router.
 
Old 10-17-2004, 03:47 PM   #2
alyks
LQ Newbie
 
Registered: Sep 2004
Location: castaic, california
Distribution: at the moment, debian
Posts: 25

Rep: Reputation: 15
The nameserver is an optional thing, I forget, but if you have to put something in it, just put something like your computer name, it doesn't matter unless you know what it is, then you know what to put in it.
 
Old 10-17-2004, 07:10 PM   #3
CSSLin
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
The IP address that should go here can be provided by your Internet Service Provider (ISP) or system administrator.

Also, you might look at http://support.open-rsc.org/.servers

Usually, there will be 2 or 3 ip addresses.

You can create/update resolv.conf using YaST. This prevents syntax and other errors.

Go to YaST -> Network Services -> DNS & HostName
 
Old 10-17-2004, 08:23 PM   #4
y0shi
Member
 
Registered: Oct 2004
Location: Boston, MA
Distribution: SUSE 9.1, Slackware 10.0
Posts: 95

Rep: Reputation: 15
are you wireless or plugged into the router ?
 
Old 10-17-2004, 08:35 PM   #5
linylion
LQ Newbie
 
Registered: Jul 2003
Location: Lahore (Pakistan)
Distribution: Red Hat Linux
Posts: 9

Rep: Reputation: 0
I guess u r not able to browse the internet as ur system is unable to resove the dns queries, if so then its pretty simple,

1. ur system is unable to resolve human friendly names of internet sites to their corresponding ip addresses.
2. ur system has no dns server so it does not know where to go to lookup for the dns queries.
3. yep its the /etc/resolv.conf u should go into nd tell ur system the address of a dns server to be used.
4. give the ip address of a dns server in /etc/resolve.conf lik.

nameserver 1.2.3.4

there is also a parameter 'domain' usually found in this file, ignore it this time. Better if u go thru yast2/yast and go into devices then to network card then select ur card nd edit its config. then select appropriate field that tell abt changing of dns settings u can now give three ip addresses for ur dns servers. go thru the way u like. c u
 
Old 10-18-2004, 09:28 PM   #6
mustangfanatic
LQ Newbie
 
Registered: Oct 2004
Location: Michigan
Distribution: SuSe, Fedora Core
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the help guys
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resolv.conf albundy Linux - Software 5 12-14-2004 03:12 PM
resolv.conf jmdlcar Slackware 9 05-15-2004 11:44 AM
resolv.conf ricemark20 Linux - Networking 12 11-11-2003 04:08 PM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 PM
resolv.conf Culbert Linux - Networking 8 03-20-2003 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration