[PLUG] named.conf forwarders ....... for .in domain

Agnello George agnello.dsouza at gmail.com
Fri Jan 16 14:52:13 IST 2009


Hi

i have a small query .... i am adding a forwarder to my named.conf to
forward all request coming to  domain ending with .in  to 192.168.2.2
, however  i need to  forward all request coming for  domain123.co.in
 to 192.168.2.123

this is what i have done :

zone "in" IN {
type forward;
forward only;
forwarders {
192.168.2.2 port 530;
};
};

zone "domain123.co.in" {
  type forward;
  forwarders {
     192.168.2.123;
     };
  };


however if do a # dig domain123.co.in -----------------> it still
does'nt  forward to 192.1682.123  instead it forwards it to 192.1682.2

Is there a regex i can use to do this ............ or is there any
other way to do this

Thanks a lot !!
--
Regards
Agnello D'souza




More information about the Plug-mail mailing list