LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

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
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,174
Blog Entries: 1

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



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

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration