Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 05-30-2005, 03:40 PM   #1
Registered: Oct 2004
Location: /usr/home
Distribution: Linux Mint, FreeBSD, Android
Posts: 356

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?


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

Rep: Reputation: 15
take a look into /etc/resolv.conf
Old 05-31-2005, 06:16 AM   #3
Registered: Oct 2004
Location: /usr/home
Distribution: Linux Mint, FreeBSD, Android
Posts: 356

Original Poster
Rep: Reputation: 32
Thanks for the suggestion. Changed that as well but no go. Hmmm....
Old 05-31-2005, 01:22 PM   #4
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" - towards the bottom of all that info you should see something similar to this:

;; Query time: 109 msec
;; 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.


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

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

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