Sponsored Content
Operating Systems Solaris configure DNS server on solaris Post 302101147 by asafwat on Thursday 28th of December 2006 09:05:39 AM
Old 12-28-2006
thanks for your reply

but how i can solve this issue

I configure /etc/named.conf
# The root nameservers
zone "." {
type hint;
file "db.rootcache";
};
# localhost - forward zone
zone "localhost" {
type master;
file "db.localhost";
notify no;
};
# localhost - inverse zone
zone "0.0.127.in-addr.arpa" {
type master;
file "db.127.0.0";
notify no;
};
zone "egynet.com.eg" { // Configure the domain cse.sc.edu
type master; // We are primary for it
file "egynet.com.eg";
allow-query { any; };
notify yes;

};
zone "11.168.192.in-addr.arpa" { // Configure the reverse zon
type master; // We are primary for it
file "11.168.192";
allow-query { any; };

};
-------------------------------------------------------------------------

and under /var/named i create

11.168.192 db.127.0.0 db.localhost db.rootcache egynet.com.eg named.local files


in /var/name/11.168.192
;
; Data file for reverse address to hostname.
;
$TTL 1D
@ IN SOA nts.egynet.com.eg. asaleh.egynet.com.eg. (
2005032203 ; Serial
28800 ; Refresh - 1 day
14400 ; Retry - 2 hours
2419200 ; Expire - 30 days
86400 ) ; Minimum - 4 days
@ IN NS nts.egynet.com.eg.
@ IN NS nts2.egynet.com.eg.
@ IN NS nts22.egynet.com.eg.
;
;
; Subnet 35 data for reverse address to hostname.
;
20 IN PTR nts.egynet.com.eg.
25 IN PTR mrtg.egynet.com.eg.
35 IN PTR nts22.egynet.com.eg.
30 IN PTR mrtgnu.egynet.com.eg.
40 IN PTR mail.operations.egynet.com.eg.
40 IN PTR operations.egynet.com.eg.
45 IN PTR adslorder.egynet.com.eg
--------------------------------------------------------------------------in /var/named/db.127.0.0
$TTL 86400 @ IN SOA nts.egynet.com.eg. root.nts.egynet.com.eg. (
2 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS nts.egynet.com.eg.
1 IN PTR nts.egynet.com.eg.
--------------------------------------------------------------------------

/var/named/db.localhost

$TTL 86400 @ IN SOA nts.egynet.com.eg. root.nts.egynet.com.eg. (
45 ; serial
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

IN NS @
IN A 127.0.0.1
--------------------------------------------------------------------------

/var/named/egynet.com.eg.

;
$TTL 1D
@ IN SOA nts.egynet.com.eg. sbably.egynet.com.eg. (
2005082307 ; Serial
28800 ; Refresh - 1 day
14400 ; Retry - 2 hours
2419200 ; Expire - 30 days
86400 ) ; Minimum - 4 days
IN NS ns2.egynet.com.eg.
IN NS ns22.egynet.com.eg.
IN NS ns222.egynet.com.eg.
;
localhost A 127.0.0.1
;
; Subnet 213.152.67
;
www.egynet.com.eg. IN A 213.154.54.51
www.dsl.egynet.com.eg. IN CNAME wifi.soficom.com.eg.
;
; Subnet 80.75.163
;
egynet.com.eg. IN A 62.139.130.138
server.egynet.com.eg. IN A 62.139.130.138
NozhaSrv.egynet.com.eg. IN A 62.139.130.139
adslorder.egynet.com.eg. IN A 80.75.163.45
ns2.egynet.com.eg. IN A 80.75.163.20
mrtgnu.egynet.com.eg. IN A 80.75.163.30
ns222.egynet.com.eg. IN A 84.36.0.250
mrtg.egynet.com.eg. IN A 80.75.163.25
ns22.egynet.com.eg. IN A 80.75.166.250
monitor.egynet.com.eg. IN A 80.75.166.141
bmonitor.egynet.com.eg. IN A 80.75.166.137
ispweb.egynet.com.eg. IN A 80.75.166.180
webmail.egynet.com.eg. IN A 81.29.101.3
imap IN CNAME webmail.egynet.com.eg.
mail IN CNAME server.egynet.com.eg.
pop3 IN CNAME server.egynet.com.eg.
;ns2 IN CNAME ns2.egynet.com.eg.
;mrtg IN CNAME mrtg.egynet.com.eg.
;mrtgnu IN CNAME egynet.com.eg.
;
--------------------------------------------------------------------------

i need to know where is the problem
 

9 More Discussions You Might Find Interesting

1. IP Networking

trying to configure DNS address in Solaris

hi to all. I'm trying to use the sendmail command to generate some reports and I cant use it. The mails i try to send simply won't go out, instead I receive a response from the system sayng that the host is unknown. I think the problem is in the DNS configuration (or the IMAP/SMTP servers). ... (3 Replies)
Discussion started by: ldrojasm
3 Replies

2. UNIX for Advanced & Expert Users

How to configure DNS

My OS is sun solaris7,(sun sparc),i want connect inernet and my computer in my company intranet.After i configure proxy server,i still can't conncet internet.I guess whether the DNS is configured correctly. who can help me???Thank you very much!!! (6 Replies)
Discussion started by: q30
6 Replies

3. UNIX for Dummies Questions & Answers

Add DNS server in Solaris

I am new to UNIX and have been trying to add DNS servers so I can access the internet under Solaris 9. I am using a static IP and have the subnet and gateway configured but cannot figure out to add DNS servers. Does anyone know how to do this? Thank you very much for any help. (1 Reply)
Discussion started by: jmy113437
1 Replies

4. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

5. IP Networking

Configure DNS

I am running Solaris 2.6 Server on a Sparc 10 and I was wondering how I can manually specify a DNS server to resolve hostnames. Any help will be greatly appreciated. And also I have created a file in the /etc dir named defaultrouter and added th IP address of my router, but when I ping another... (15 Replies)
Discussion started by: jskillet
15 Replies

6. Solaris

How to configure Proxy Server in Solaris 10 (X86)

Hi , I have installed solaris 10 on x 86 architecture. Now i want to configure this system as Proxy Server. I am new to the solaris. Please help me how can i configure this. Which packages or patches are needed ? or Which files have to be modify ? Please help me to resolve. Thanks and... (0 Replies)
Discussion started by: raviraj001
0 Replies

7. Solaris

BIND DNS Server issue on Solaris 10

Hi all, I have some sort of problem with BIND DNS server my environment as follows. bash-3.00# cat /etc/release Solaris 10 6/06 s10s_u2wos_09a SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

8. Solaris

checking Solaris 10 DNS server for IPv6

hi, i have a Solaris 10 DNS server, how do you check whether it can support IPv6 networking ? (0 Replies)
Discussion started by: Exposure
0 Replies

9. Solaris

How to add new Solaris client IP into Solaris 10 DNS server?

Hi, We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 Replies
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy