Hello,
My DNS server IP is blacklisted in RBL. So I have checked and found that , open dns resolver is enabled in my server.
#cat /var/named/chroot/etc/named.conf | grep recursion
recursion yes;
recursion yes;
recursion no;
// you'd probably want to deny recursion to external clients, so you don't
I want to disable this setting permanently for whitelist my DNS server.
I am little bit confused in which recursion option should be disabled? Please let me know.
---------------------------
view "localhost_resolver" {
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
* If all you want is a caching-only nameserver, then you need only define this view:
*/
match-clients { 127.0.0.0/24; };
match-destinations { localhost; };
recursion yes;
------------------------------------
view "internal" {
/* This view will contain zones you want to serve only to "internal" clients
that connect via your directly attached LAN interfaces - "localnets" .
*/
match-clients { localnets; };
match-destinations { localnets; };
recursion yes;
--------------------------------------
view "external" {
/* This view will contain zones you want to serve only to "external" clients
* that have addresses that are not on your directly attached LAN interface subnets:
*/
recursion no;
// you'd probably want to deny recursion to external clients, so you don't
// end up providing free DNS service to all takers
--------------------------------------
Thanks,
Imran Khan.
My DNS server IP is blacklisted in RBL. So I have checked and found that , open dns resolver is enabled in my server.
#cat /var/named/chroot/etc/named.conf | grep recursion
recursion yes;
recursion yes;
recursion no;
// you'd probably want to deny recursion to external clients, so you don't
I want to disable this setting permanently for whitelist my DNS server.
I am little bit confused in which recursion option should be disabled? Please let me know.
---------------------------
view "localhost_resolver" {
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
* If all you want is a caching-only nameserver, then you need only define this view:
*/
match-clients { 127.0.0.0/24; };
match-destinations { localhost; };
recursion yes;
------------------------------------
view "internal" {
/* This view will contain zones you want to serve only to "internal" clients
that connect via your directly attached LAN interfaces - "localnets" .
*/
match-clients { localnets; };
match-destinations { localnets; };
recursion yes;
--------------------------------------
view "external" {
/* This view will contain zones you want to serve only to "external" clients
* that have addresses that are not on your directly attached LAN interface subnets:
*/
recursion no;
// you'd probably want to deny recursion to external clients, so you don't
// end up providing free DNS service to all takers
--------------------------------------
Thanks,
Imran Khan.