How to allow recursion for only 1 zone?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
Is it possible to allow recursion for a single zone in BIND 9.6?
linux dns bind
add a comment |Â
up vote
1
down vote
favorite
Is it possible to allow recursion for a single zone in BIND 9.6?
linux dns bind
Don't you mean 'view'?
â jirib
Oct 17 '13 at 9:55
I don't think so, I've created a zone which redirects any queries for www.mydomain.com to another name server and anything else is resolved locally. This redirect only works if recursion is enabled in named.conf.options, but has the adverse affect of allowing any domain to be resolved by the server such as google.com
â 8inf
Oct 17 '13 at 10:13
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Is it possible to allow recursion for a single zone in BIND 9.6?
linux dns bind
Is it possible to allow recursion for a single zone in BIND 9.6?
linux dns bind
linux dns bind
asked Oct 17 '13 at 9:44
8inf
62
62
Don't you mean 'view'?
â jirib
Oct 17 '13 at 9:55
I don't think so, I've created a zone which redirects any queries for www.mydomain.com to another name server and anything else is resolved locally. This redirect only works if recursion is enabled in named.conf.options, but has the adverse affect of allowing any domain to be resolved by the server such as google.com
â 8inf
Oct 17 '13 at 10:13
add a comment |Â
Don't you mean 'view'?
â jirib
Oct 17 '13 at 9:55
I don't think so, I've created a zone which redirects any queries for www.mydomain.com to another name server and anything else is resolved locally. This redirect only works if recursion is enabled in named.conf.options, but has the adverse affect of allowing any domain to be resolved by the server such as google.com
â 8inf
Oct 17 '13 at 10:13
Don't you mean 'view'?
â jirib
Oct 17 '13 at 9:55
Don't you mean 'view'?
â jirib
Oct 17 '13 at 9:55
I don't think so, I've created a zone which redirects any queries for www.mydomain.com to another name server and anything else is resolved locally. This redirect only works if recursion is enabled in named.conf.options, but has the adverse affect of allowing any domain to be resolved by the server such as google.com
â 8inf
Oct 17 '13 at 10:13
I don't think so, I've created a zone which redirects any queries for www.mydomain.com to another name server and anything else is resolved locally. This redirect only works if recursion is enabled in named.conf.options, but has the adverse affect of allowing any domain to be resolved by the server such as google.com
â 8inf
Oct 17 '13 at 10:13
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
Yes, type forward. See How to configure a name server to forward some queries to other name servers.
add a comment |Â
up vote
0
down vote
Here is the more complete answer I was looking for. Adapted from DNS Cookbook.
Use a zone statement of type forward to tell a BIND name server to forward queries for domain names that end in the specified suffix to particular name servers. For example:
zone "bar.example"
type forward;
forwarders 10.0.0.9; ;
;
This tells the name server to forward queries for domain names that end in bar.example to the name server at 10.0.0.9.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Yes, type forward. See How to configure a name server to forward some queries to other name servers.
add a comment |Â
up vote
1
down vote
Yes, type forward. See How to configure a name server to forward some queries to other name servers.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Yes, type forward. See How to configure a name server to forward some queries to other name servers.
Yes, type forward. See How to configure a name server to forward some queries to other name servers.
answered Oct 17 '13 at 10:32
jirib
1,002712
1,002712
add a comment |Â
add a comment |Â
up vote
0
down vote
Here is the more complete answer I was looking for. Adapted from DNS Cookbook.
Use a zone statement of type forward to tell a BIND name server to forward queries for domain names that end in the specified suffix to particular name servers. For example:
zone "bar.example"
type forward;
forwarders 10.0.0.9; ;
;
This tells the name server to forward queries for domain names that end in bar.example to the name server at 10.0.0.9.
add a comment |Â
up vote
0
down vote
Here is the more complete answer I was looking for. Adapted from DNS Cookbook.
Use a zone statement of type forward to tell a BIND name server to forward queries for domain names that end in the specified suffix to particular name servers. For example:
zone "bar.example"
type forward;
forwarders 10.0.0.9; ;
;
This tells the name server to forward queries for domain names that end in bar.example to the name server at 10.0.0.9.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Here is the more complete answer I was looking for. Adapted from DNS Cookbook.
Use a zone statement of type forward to tell a BIND name server to forward queries for domain names that end in the specified suffix to particular name servers. For example:
zone "bar.example"
type forward;
forwarders 10.0.0.9; ;
;
This tells the name server to forward queries for domain names that end in bar.example to the name server at 10.0.0.9.
Here is the more complete answer I was looking for. Adapted from DNS Cookbook.
Use a zone statement of type forward to tell a BIND name server to forward queries for domain names that end in the specified suffix to particular name servers. For example:
zone "bar.example"
type forward;
forwarders 10.0.0.9; ;
;
This tells the name server to forward queries for domain names that end in bar.example to the name server at 10.0.0.9.
answered Aug 31 at 17:47
kael
1
1
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f96456%2fhow-to-allow-recursion-for-only-1-zone%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Don't you mean 'view'?
â jirib
Oct 17 '13 at 9:55
I don't think so, I've created a zone which redirects any queries for www.mydomain.com to another name server and anything else is resolved locally. This redirect only works if recursion is enabled in named.conf.options, but has the adverse affect of allowing any domain to be resolved by the server such as google.com
â 8inf
Oct 17 '13 at 10:13