0

I am trying to configure geo location based DNS.

in /etc/named.conf I did following

acl "BD" {
  x.x.x.x/28;
};

view "asia" {
  match-clients { BD; };
  recursion yes;
  zone "example.com" {
    type master;
    file "/var/named/example1.com.bd.db";

  };
};

view "rest"{
  match-clients { any; };
  recursion yes;
  zone "example.com" {
    type master;
    file "/var/named/example2.com.bd.db";

  };

Its always resolving rest. What is the issue in my settings? I have tried with recursion yes and no both.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.