LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-31-2004, 04:46 AM   #1
riffe
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Rep: Reputation: 0
ifconfig help


can we configure dns in ifconfig or use another utility? help pls im a newbie
 
Old 07-31-2004, 05:09 AM   #2
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
Edit your /etc/resolv.conf.
 
Old 07-31-2004, 09:33 AM   #3
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
adding to ugenn's post, add the following entries to your /etc/resolv.conf if it is not already there

search <your domain OR your ISP's domain>
nameserver <IP of your/ ISP's nameserver>
nameserver <IP of your/ISP's other name server>

You may use an editor like vi or gedit. For using vi, you need to open a terminal window and assume root privileges with the "su -" command. Alternatively you can press Ctrl-Alt-F1 and login as root.

you can also

$ man resolv.conf

for more information about configuring resolv.conf.

Last edited by ppuru; 07-31-2004 at 09:35 AM.
 
  


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
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
Ifconfig mrodriguez Linux - Newbie 2 02-16-2005 12:17 PM
Oh where or where has ifconfig gone thotFree Linux - Software 3 11-13-2003 12:27 AM
Ifconfig ! mesta Linux - Software 2 02-04-2003 09:18 AM
ifconfig Astro Slackware 6 01-08-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:23 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