dig -x don't give answers
hi all
ther's a problem in my internal dns zones
i have a internal domain but i can dig any name of pc and have answer
but when i do dig-x for any ip it don'd give me any answer
this is a partof first domain zone
-------------------------------------------------------------------------------------
$TTL 3D
;
;SOA record (Start of Authority)
;
@ IN SOA server1.office.main. root.localhost (
1 ; Serial
3h ; Refresh
1h ; Retry
1w ; Expire
1h ) ; Negative Caching TTL
;
; NS record (Name Servers)
;
office.main. IN NS server1.office.main.
;
; Hosta Addresses
;
;server1 IN A 10.1.1.1
server1 IN A 10.1.1.1
@ IN A 10.1.1.1
pc2 IN A 10.1.1.2
pc3 IN A 10.1.1.3
pc4 IN A 10.1.1.4
pc5 IN A 10.1.1.5
-------------------------------------------------------------------------------
and the second
---------------------------------------------------------------------------------
$TTL 86400
;
;SOA record (Start of Authority)
;
@ IN SOA server1. root.localhost (
1 ; Serial
3h ; Refresh
1h ; Retry
1w ; Expire
1h ) ; Negative Caching TTL
;
; NS record (Name Servers)
;
@ IN NS localhost.
;
; Address point to canonical name (CNAME)
;
1 IN PTR pc1.office.main.
2 IN PTR pc2.office.main.
3 IN PTR pc3.office.main.
4 IN PTR pc4.office.main.
5 IN PTR pc5.office.main.
6 IN PTR pc6.office.main.
7 IN PTR pc7.office.main.
8 IN PTR pc8.office.main.
---------------------------------------------------------------------------------
and this's my named.conf
----------------------------------------------------------
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
};
zone "office.main" in {
type master;
file "db.office.main.zone";
};
zone "1.1.10.in-addr.arpa.zone" in {
type master;
file "db.1.1.10.in-addr.arpa.zone";
};
include "/etc/rndc.key";
|