LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-30-2005, 04:40 PM   #1
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Mint, Ubuntu server, FreeBSD, Android
Posts: 362

Rep: Reputation: 32
DNS configuration: How 2 change from local to remote nameservers


Hi all,

I am running Fedora Core 3 connected to the internet via an ADSL router (Brand: Sweex, router login webpage says Conexant - Hasbani). It is configured to provide "DNS Proxy", and for "Primary" and "Alternate" DNS nameservers I have entered IP numbers of two DNS servers at my ISP.

Up to now, I have supplied the IP number of the router as the primary nameserver on the DNS page of Network Setup in my Fedora system. However, the router's DNS proxy service generates frequent temporary errors messages ("domain cannot be resolved"), and crashes every few days requiring me to manually reboot the router. Hence, I would like to configure Fedora to use the nameservers of my ISP directly. I have tried entering the same ISP DNS server the router uses as the primary nameserver on the DNS page, then deactivating and reactivating the connection, but then DNS lookups don't work at all, and I have to restore the router IP. Obviously something else needs to be changed, but what?

TIA

Last edited by Kropotkin; 05-30-2005 at 04:45 PM.
 
Old 05-31-2005, 04:29 AM   #2
saneax
Member
 
Registered: Aug 2004
Distribution: Gentoo, Suse, Fedora, Debian
Posts: 86

Rep: Reputation: 15
take a look into /etc/resolv.conf
 
Old 05-31-2005, 07:16 AM   #3
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Mint, Ubuntu server, FreeBSD, Android
Posts: 362

Original Poster
Rep: Reputation: 32
Thanks for the suggestion. Changed that as well but no go. Hmmm....
 
Old 05-31-2005, 02:22 PM   #4
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
How did you change it? That's the file that keeps track of DNS server info for you. You want to change the IP addy of your modem to the IP of the DNS server you mean to point at, and then add a second identical line with the IP of the secondary DNS server you wish to use. All this info gets rewritten if you use DHCP and reboot.

To test if it's using the new DNS servers, do "dig yahoo.com" - towards the bottom of all that info you should see something similar to this:

;; Query time: 109 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue May 31 12:28:17 2005
;; MSG SIZE rcvd: 229

"server" should be one of the entries you have in /etc/resolv.conf.
 
  


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
Updating a remote server with a local cd korozion Linux - General 4 07-15-2004 05:19 PM
dns check outside dns before local reaky Linux - Networking 1 02-22-2004 10:27 AM
Remote + local syslogging at the same time ganninu Linux - General 9 12-03-2003 03:21 AM
Remote Mounting? (Mount remote folder on local filesystem) mac_phil Linux - Networking 1 11-15-2003 04:48 PM
Local and Remote X login lancest Linux - Networking 0 06-28-2002 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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