![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
|
||||
|
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";
};
$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
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... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|