The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
NTFS under Solaris (switching from windows to Solaris server) microbot SUN Solaris 2 07-14-2009 10:46 AM
Now possible to upgrade directly from Solaris 8 SPARC to latest Solaris 10 release iBot Solaris BigAdmin RSS 0 04-21-2009 08:15 PM
Solaris 10 System Administration Essentials (Solaris Series) iBot Solaris BigAdmin RSS 0 01-16-2009 09:30 AM
Solaris Jedi: A quick way to check UDP ports on Solaris iBot Solaris BigAdmin RSS 0 12-03-2008 09:20 AM
Disk Mirror in Solaris 9 via Solaris Volume Manager deal732 SUN Solaris 3 05-02-2007 12:43 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-21-2009
sikander sikander is offline
Registered User
  
 

Join Date: May 2009
Posts: 3
Unhappy solaris dns

Hi all,

I have configured dns on solaris 10 and it is working fine but i want to add some other domains in this dns like yahoo and gmail. but i have no idea how to do this. I have added zone entry in named.conf and created a seperate zone file under /var/named/db.gmail.com. but when i use nslookup it is giving error.

Server: 192.168.50.152
Address: 192.168.50.152#53
** server can't find gmail.com.gmail.com: SERVFAIL

My dns reasult is given below. I want to make same result with other domains using same dns.
nslookup
> set ty=mx
> mydomain.com
Server: 192.168.50.152
Address: 192.168.50.152#53

mydomain.com mail exchanger = 10 mail.mydomain.com.mydomain.com.

Am i doing correct, Can some one provide me assistance, how can i do this.

Thanks in advance. looking forward for good response.

Regards,

Sikander
  #2 (permalink)  
Old 08-22-2009
bartus11 bartus11 is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 47
Post contents of zone entry for gmail.com in named.conf and all contents of /var/named/db.gmail.com
  #3 (permalink)  
Old 08-24-2009
sikander sikander is offline
Registered User
  
 

Join Date: May 2009
Posts: 3
Smile contents of named.conf and /var/named/db.gmail.com

Thanks bartus11 for your reply.
contents of zone entry for gmail.com in the forward zone only are given below
zone "gmail.com" { type master; file "db.gmail.com"; };
-->
Code:
zone "gmail.com"
{
type master;
file "db.gmail.com";
};
        
all contents of /var/named/db.gmail.com are
$TTL 86400 ; ;{name} {ttl} Class SOA Origin Postmaster ;---------------------------------------------------------------------------------- @ IN SOA www.gmail.com. root.www.gmail.com. ( 2005010101 ; Serial 3600 ; Refresh (1 Hour) 1800 ; Retry (30 Minutes) 6048000 ; Expire (1 Week) 86400 ) ; Minimum (24 Hours) ; ;{name} {ttl} Class NS Nameserver Name ;------------------------------------------------------ IN NS www.gmail.com. ; ;{name} {ttl} Class A IP Address ;------------------------------------------------- www IN A 192.168.50.153 gmail.com. IN A 192.168.50.153 gmail.com. IN MX 155555 www.gmail.com localhost IN A 127.0.0.1 -->
Code:
$TTL 86400
;
;{name} {ttl} Class SOA   Origin                  Postmaster
;----------------------------------------------------------------------------------
@              IN   SOA  www.gmail.com.              root.www.gmail.com. (
                          2005010101                  ; Serial
                          3600                        ; Refresh (1 Hour)
                          1800                        ; Retry (30 Minutes)
                          6048000                     ; Expire (1 Week)
                          86400 )                     ; Minimum (24 Hours)
;
;{name} {ttl} Class NS Nameserver Name
;------------------------------------------------------
              IN    NS www.gmail.com.
;
;{name} {ttl} Class A IP Address
;-------------------------------------------------
www        IN     A      192.168.50.153
gmail.com.  IN     A      192.168.50.153

gmail.com.  IN MX 155555             www.gmail.com
localhost     IN     A      127.0.0.1
        
one more thing please do i have to change the TTL serial number because it is same in my primary server dns zone file do i have to make any entry for this domain(gmail.com) or zone in my primary dns zone file, if yes then please guide.

Looking forward to hear from you . Thanks in advance.

Regards,
Sikander

Last edited by vbe; 08-24-2009 at 05:37 AM.. Reason: TRied to add code tags...
  #4 (permalink)  
Old 08-24-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,577
To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags [code] and [/code] by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums
  #5 (permalink)  
Old 08-25-2009
bartus11 bartus11 is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 47
gmail.com. IN MX 155555 www.gmail.com
-->
Code:
gmail.com.  IN MX 155555             www.gmail.com
        
Missing period at the end of this line.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0