LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 05-01-2009, 08:54 AM   #1
shan_nathan
Member
 
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Rep: Reputation: 15
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,
 
Old 05-01-2009, 04:53 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,897

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND forward zone OK, reverse zone NOT OK! n03x3c Linux - Server 2 11-05-2008 10:31 PM
Dns Problem Loading The Zone File Error(zone File Not Found) ramineni Linux - Newbie 1 09-14-2008 08:36 AM
DNS Master Zone Vs. DNS Slave Zone ALInux Linux - Networking 3 08-29-2007 09:28 AM
DNS Zone x-fer - From one zone to another / Debian 3.1 + BIND9 kenwoodgt Linux - Software 0 11-01-2006 10:28 AM
Forward of subdomain zone with BIND 9.2.3 geroq Linux - Networking 0 03-06-2006 07:07 AM


All times are GMT -5. The time now is 04:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration