Getting bind to know something, what ist not in his zone
Marco Kammerer
m.kammerer_SL at gmx.at
Tue Jan 2 23:32:08 UTC 2001
HI
for my private lan i set up a dns running p7
I made a zone "at" and i wanted bind to return 192.168.66.3 (for the
internal lan) when it gets asked for "local.domain.at".
That was working.
But when I asked my bind for example www.domain.at or www.123123abc.at it
did return a answer. (because i have no entry in my "at" file) !!! BUT I
HAVE SET THE FORWARD INFORMATION!
Is there a possibility to get it running or do i have to make a second dns?
one for forwarding www stuff and another that answers the local stuff?
Thanks for helping
CU marco
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/etc/named.conf
// This is a configuration file for named (from BIND 8.1 or later).
// It would normally be installed as /etc/named.conf.
options {
directory "/var/named";
forwarders {
123.45.11.11;
123.45.11.10;
};
};
zone "." {
type hint;
file "root.hint";
};
zone "at" {
notify no;
type master;
file "pz/at";
};
zone "66.168.192.in-addr.arpa" {
notify no;
type master;
file "pz/192.168.66";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "pz/127.0.0";
};
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/var/named/pz/at
$TTL 3D
@ IN SOA ns1local.domain.at. support.domain.at. (
200101021 ; serial, todays date + todays serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D ) ; Minimum TTL
;
NS ns1local.domain.at.
;
localhost A 127.0.0.1
ns1local.domain A 192.168.66.3
local.domain A 192.168.66.3
local.domain2 A 192.168.66.4
local.domain3 A 192.168.66.5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/var/named/192.168.66
$TTL 3D
@ IN SOA nsllocal.domain.at. support.domain.at. (
2001010202 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D ) ; Minimum TTL
NS ns1local.domain.at.
3 PTR ns1local.domain.at.
3 PTR local.domain.at.
4 PTR local.domain2.at.
5 PTR local.domain3.at.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/var/named/127.0.0
$TTL 3D
@ IN SOA ns1local.domain.at. support.domain.at. (
1 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D ) ; Minimum TTL
IN NS ns1local.domain.at.
1 PTR localhost.
More information about the bind-users
mailing list