LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-27-2006, 06:03 PM   #1
ombill
Member
 
Registered: Dec 2003
Distribution: RH8.0
Posts: 30

Rep: Reputation: 15
Setting DNS ip addresses


I'm a programmer not a sys-admin, please be gentle.

I set up Fedora RC2 about 3 years ago, and I just
use it for file sharing and CVS repositories. Since
then I've been java hacking and I've forgotten how
to find out which of my ISP's DNS servers the box
is using.

what commands display the primary and secondary
DNS server addresses ?

Bill.
 
Old 02-27-2006, 06:07 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You can just cat the file /etc/resolv.conf to get the DNS servers.
 
Old 02-27-2006, 06:08 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
more /etc/resolv.conf
 
Old 02-27-2006, 07:06 PM   #4
ombill
Member
 
Registered: Dec 2003
Distribution: RH8.0
Posts: 30

Original Poster
Rep: Reputation: 15
M, Many thanks, Bill.
 
  


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
has anyone tried this??? Reverse dns lookups with Class A addresses.. khattaking Linux - Networking 2 12-15-2005 07:54 AM
setting muliple IP addresses on Single NIC cranium2004 Linux - Networking 1 02-08-2005 05:55 AM
Getting DNS to point to different ip addresses sohmc Linux - Networking 6 10-07-2004 01:36 PM
DNS Listen on too many ip addresses tysonh04 Fedora 2 03-15-2004 09:54 AM
Setting up DNS Mneumonic Linux - Software 1 03-14-2003 04:15 PM

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

All times are GMT -5. The time now is 08:39 PM.

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