have a question of using bind9 for local proxy server

Junyoung Park killers2989 at gmail.com
Wed Feb 25 10:53:29 UTC 2015


hello.

i try to configure local proxy views based authoritative DNS server.

do iptables redirect dport 53 to local for local proxy.

In recursion view config is...,

view "internal" {
  match-clients { acl internal; };
  recursion yes;

   zone "."  {
        type hint;
        file "named.ca";
    };
    zone "test.com" {
         type master;
         file "db.test";
     };
};

In this situation,
if incoming query is "example.com" then queries will going to root dns
server. (iterative)

but i want to send query to clients original destination.
(if client pc DNS server set 8.8.8.8, i want to send 8.8.8.8 instead
of root dns servers)
(i cant use forward/forwarders option because i don't know client's
DNS server setting.)

Is there some way to solve the situation? please give some helps...
(I feel sorry... that i have poor english skills...)


More information about the bind-users mailing list