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


  Search this Thread
Old 08-18-2004, 05:23 AM   #1
LQ Newbie
Registered: May 2004
Posts: 11

Rep: Reputation: 0
Question Update DNS forwarders in named.conf automatically?

Hi. I set up a Linux Router running Mandrake 10. On one interface, I am connected to my ISP and I am getting his DNS servers via DHCP. They are listed in /etc/resolv.conf.

I am running my own caching nameserver for my local network and I filled in my ISP's DNS servers in the named.conf as forwarders. This works nice, however, I am using not only one ISP and therefore I have to change the forwarders quite often.

Is there any way to do this automatically that the forwarders in named.conf are automatically updated by those who are standing in /etc/resolv.conf?

Thanks, Chris.

Last edited by linuxuser2005; 08-21-2004 at 10:01 AM.
Old 08-21-2004, 10:01 AM   #2
LQ Newbie
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I am still having the problem. Anyone can help?
Old 08-21-2004, 01:54 PM   #3
Registered: Jan 2003
Posts: 217

Rep: Reputation: 30
Let's say ISP1 has 2 DNS servers: and
...and ISP2 also has 2 DNS servers: and

Have your tried simply adding all 4 (theoretical) DNS servers as forwarders in your named.conf file? From how I understand DNS works, if 1 forwarder fails, it goes on to the next, and then the next...
Old 08-21-2004, 03:26 PM   #4
LQ Newbie
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Hey, that sounds quite good. I will give it a try!


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
DNS: Named.conf don point to zone file Swakoo Linux - General 3 09-27-2005 07:02 PM
DNS named.conf master/slave question pao Linux - Networking 5 11-12-2004 04:50 AM
Trying to read named.conf forwarders info in bash script. scottman Programming 4 09-11-2004 09:38 PM
DNS named.conf path asyadiqin Linux - Newbie 1 08-11-2004 10:19 PM
DNS forwarders and A-Records fquinteros Linux - Networking 1 08-23-2003 05:12 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:01 PM.

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