Networking Forums

Networking Forums > Computer Networking > Linux Networking > BIND 9.22

Reply
 
 
Baho Utot
Guest
Posts: n/a

 
      04-27-2005, 12:18 AM
I have bind setup to cache lookups from the internet and also as a master
for my internal lan.

When I do a dig from the machine bind is running on it fails while a dig
from a machine on my lan works?
I think its from the config file but I just don't see the problem.

And do I have any thing else messed up?

Here is the /etc/named.conf

acl "lan" { 192.168.0.0/24; };
options {
directory "/etc/namedb";
pid-file "/etc/namedb/named.pid";
statistics-file "/etc/namedb/named.stats";
allow-query { lan; };
allow-recursion { lan; };
};
key "rndc-key" {
algorithm hmac-md5;
secret "root-me";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
view "internal" {
match-clients { localhost; lan; };
zone "." {
type hint;
file "db.cache";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "db.127.0.0";
allow-update { none; };
};
zone "kumusta.org" {
type master;
notify no;
file "db.kumusta.org";
allow-query { any; };

};
zone "0.168.192.in-addr.arpa" {
type master;
file "db.192.168.0";
allow-update { none; };
};
};

Thanks

--
Tayo'y Mga Pinoy

 
Reply With Quote
 
 
 
 
Paul Colquhoun
Guest
Posts: n/a

 
      04-27-2005, 02:20 AM
On Wed, 27 Apr 2005 00:18:02 GMT, Baho Utot <baho-(E-Mail Removed)> wrote:
| I have bind setup to cache lookups from the internet and also as a master
| for my internal lan.
|
| When I do a dig from the machine bind is running on it fails while a dig
| from a machine on my lan works?
| I think its from the config file but I just don't see the problem.
|
| And do I have any thing else messed up?
|
| Here is the /etc/named.conf
|
| acl "lan" { 192.168.0.0/24; };


Try adding 127.0.0.0/8 to this acl.


| options {
| directory "/etc/namedb";
| pid-file "/etc/namedb/named.pid";
| statistics-file "/etc/namedb/named.stats";
| allow-query { lan; };
| allow-recursion { lan; };
|};
| key "rndc-key" {
| algorithm hmac-md5;
| secret "root-me";
|};
| controls {
| inet 127.0.0.1 port 953
| allow { 127.0.0.1; } keys { "rndc-key"; };
|};
| view "internal" {
| match-clients { localhost; lan; };
| zone "." {
| type hint;
| file "db.cache";
| };
| zone "0.0.127.in-addr.arpa" {
| type master;
| file "db.127.0.0";
| allow-update { none; };
| };
| zone "kumusta.org" {
| type master;
| notify no;
| file "db.kumusta.org";
| allow-query { any; };
|
| };
| zone "0.168.192.in-addr.arpa" {
| type master;
| file "db.192.168.0";
| allow-update { none; };
| };
|};
|
| Thanks
|

--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
 
Reply With Quote
 
Dmitry Davletbaev
Guest
Posts: n/a

 
      04-27-2005, 04:12 AM
On Wed, 27 Apr 2005 00:18:02 GMT, Baho Utot <baho-(E-Mail Removed)> wrote:

> When I do a dig from the machine bind is running on it fails while a dig
> from a machine on my lan works?


Edit /etc/resolv.conf on host running BIND:

nameserver 127.0.0.1
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

See 'man resolv.conf' for details.

--
Dmitry Davletbaev
 
Reply With Quote
 
Baho Utot
Guest
Posts: n/a

 
      04-28-2005, 12:00 AM
On Wed, 27 Apr 2005 02:20:11 +0000, Paul Colquhoun wrote:

[putulin]

>
> Try adding 127.0.0.0/8 to this acl.


Worked.

Salamat po (Thank you)

--
Sure, Linux has probs but hell, the probs are FREE. With MS you pay
dearly for a larger set of different-flavored problems!
Tayo'y Mga Pinoy

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind 9.3.1 =?ISO-8859-1?Q?J=F8rn?= Dahl-Stamnes Linux Networking 2 09-29-2005 08:39 AM
Cannot bind to tcp/ip Rosman Computing Wireless Networks 1 09-23-2005 11:31 AM
Please help on Bind jackliu Linux Networking 5 09-15-2005 08:01 AM
No BIND Jhuola Hoptire Linux Networking 12 01-25-2004 09:09 PM
DNS/Bind rumbera Linux Networking 2 07-12-2003 08:15 AM



1 2 3 4 5 6 7 8 9 10 11