LinuxQuestions.org
Help answer threads with 0 replies.
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 07-05-2011, 06:20 AM   #1
jcdc
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Rep: Reputation: Disabled
How to forward all DNS queries through ISP DNS server ?


Hello everyone,

I would like configure a DNS server on Debian, only to forward through my ISP DNS servers.

I added on /etc/bind/named.conf

Quote:
fowarders (
<IP ISP server 1>
<IP ISP server 2>
);
and on /etc/bind/db.root

Quote:
. 3600000 IN NS ns1.isp.tld
ns1.isp.tld. 3600000 A <IP ISP server 1>
. 3600000 IN NS ns2.isp.tld
ns2.isp.tld. 3600000 A <IP ISP server 2>
Since, bind doesn't want start anymore.

Quote:
/etc/init.d/bind9 start
Starting domain name service...: bind9 failed!
Is someone has a solution or a better method?

Thanks.
 
Old 07-05-2011, 07:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
sounds like you want a standard forwarding only service - http://www.zytrax.com/books/dns/ch6/#caching
 
Old 07-05-2011, 08:17 AM   #3
Lexus45
Member
 
Registered: Jan 2010
Location: Kurgan, Russia
Distribution: Slackware, Ubuntu
Posts: 339
Blog Entries: 3

Rep: Reputation: 47
Code:
fowarders (
<IP ISP server 1>
<IP ISP server 2>
);

Code:
fowarders {
<IP ISP server 1>
<IP ISP server 2>
};
 
Old 07-05-2011, 10:44 PM   #4
jcdc
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks. I modified the code but bind still doesn't start.
 
Old 07-06-2011, 12:28 AM   #5
jcdc
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
I fixed the problem for bind9 lauching. There was a syntax error in named.conf file.
My DNS server forward correctly queries through my ISP DNS servers.

Now, I would like forward some queries to another local zone. Actually, it is my Active Directoy server.

I added in named.conf file:

Quote:
zone "mydomain.lan" IN {
type forward;
forwarders {<ip-server-on-mydomain>;};
};
and /etc/host file:

Quote:
192.168.0.200 mydomain server-on-mydomain mydomain.lan
The redirection seems work in local but not through a station using my DNS server.

Any ideas?

Thanks.
 
  


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
DNS issues, all illegitimate DNS queries resolve to me!??! fast-reflexes Linux - Networking 3 08-17-2010 07:38 AM
DNS merge / intercept queries from zone file and recursion server jabaker Linux - Server 1 06-04-2010 08:54 PM
Forward DNS lookup to different DNS Servers ghight Linux - Networking 2 09-28-2006 06:54 AM
Run my own backup DNS server, ISP DNS not available chrismcnally Linux - Networking 3 07-30-2006 09:20 AM
Resolving DNS Queries, HTTP Server Configuration ASP Mandriva 2 12-23-2003 09:14 AM


All times are GMT -5. The time now is 12:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration