LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-22-2004, 05:02 PM   #1
jlepich
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Hat 9
Posts: 9

Rep: Reputation: 0
On Fedora Core 2 what DNS server am I using?


I'm obtaining my ip information and DNS server from DHCP...how do I find out what DNS server my system will query? I know I can do a nslookup and see what it is or even a tcpdump and figure it out...but what command will just give it to me? Can't I cat some file or something? I've googled and found stuff about an /etc/resolve.conf file but it seems that my system does not have an /etc/resolve.conf file.....

Any assistance is greatly appreciated!

-Jesse
 
Old 06-22-2004, 05:11 PM   #2
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
Should be in /etc/resolv.conf (at least on debian it is). ([edit] err, I skipped reading the part where you said it's not there [/edit]) If not check the output of dig some.server.com:

Code:
demian@dirac: ~ $ dig www.google.com
[lotsa stuff here]
;; Query time: 25 msec
;; SERVER: 212.6.108.140#53(212.6.108.140) # <- There's the server that answerd!!!
;; WHEN: Wed Jun 23 00:10:06 2004
;; MSG SIZE  rcvd: 99

Last edited by demian; 06-22-2004 at 05:12 PM.
 
Old 06-22-2004, 05:26 PM   #3
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 31
jlepich

Try looking for /etc/resolv.conf instead of /etc/resolve.conf I think you will find this file exists, try as root
Code:
 /]# vi etc/resolv.conf
Pete
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora Core 3 DNS startup wgaivin Linux - Networking 4 04-12-2005 09:55 AM
DNS server on Fedora Core 3 mediocrity Linux - Networking 16 04-11-2005 09:56 AM
fedora core 2 / apache / dns / mail server rioguia Linux - Security 2 01-18-2005 02:01 PM
DNS in Fedora core 2 caocon Linux - Networking 11 11-12-2004 12:27 AM
Dns is not working in Fedora Core 1 Mahaul Fedora 2 05-14-2004 03:41 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration