LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2004, 03:46 AM   #1
reaky
Member
 
Registered: Oct 2003
Posts: 60

Rep: Reputation: 15
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";
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dig OK, but can not ping Kocil Linux - Networking 11 03-29-2011 10:09 AM
dig problem. bruse Linux - Networking 5 08-25-2005 12:25 AM
More BIND... Can dig, but i can't look it up! thebudbottle Linux - Networking 2 04-07-2005 10:14 PM
Where can I get dig/host from? MadCactus Linux - Networking 2 07-03-2004 09:56 AM
dig andox Linux - Security 1 07-05-2003 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration