LinuxQuestions.org
Review your favorite Linux distribution.
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 08-18-2004, 05:23 AM   #1
linuxuser2005
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
linuxuser2005
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
jymbo
Member
 
Registered: Jan 2003
Posts: 217

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

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
linuxuser2005
LQ Newbie
 
Registered: May 2004
Posts: 11

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


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
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

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

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