LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Zone forward in solaris dns (https://www.linuxquestions.org/questions/solaris-opensolaris-20/zone-forward-in-solaris-dns-722925/)

shan_nathan 05-01-2009 08:54 AM

Zone forward in solaris dns
 
Hi,

I configured one dns server on solaris 9 sparc for some intranet purpose, also i enabled the forwarder option for the public server's query.
Now the problem was,

I have to domains,

myoffice1.in & myoffice2.in

in the two domains myoffice1.in was registered in internet also . When i try to resolve the ip the myoffice1.in it resolving public ip only. i try to use zone forward option to resolve via intranet ip but no success. ( i configured the zone myoffice1.in in my local dns using local ip address )


This is my bind version & configuration file

#in.named -v
in.named BIND 8.3.3 Fri May 11 05:19:47 PDT 2007
Generic Patch-5.9-May 2002
#
# cat /etc/named.conf
options {

directory "/var/named";
forwarders { 71.1.19.55; 218.1.35.49; };

};

zone "myoffice2.in" in {
type master;
file "myoffice2.in";
};

zone "myoffice1.in" in {
type forward;
file "myoffice1.in";
forwarders { };
};

----------------------------------------------

Can some one help me to solve the problem

Thanks,

bathory 05-01-2009 04:53 PM

If you want your intranet clients to resolve the domain's internal ip and all the others the public ip, you have to setup views.
Take a look at this howto, to see how it's done.

Regards


All times are GMT -5. The time now is 10:17 PM.