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