Basic tips and hints for an internal authoritative server
Stephane Bortzmeyer
bortzmeyer at nic.fr
Wed Sep 20 15:18:29 UTC 2006
On Wed, Sep 20, 2006 at 09:04:54AM +0200,
Anders Norrbring <lists at norrbring.se> wrote
a message of 20 lines which said:
> It should only resolve the local network hosts.
There is nothing special in such setup. Just configure BIND like for
an outside domain:
named.conf:
zone "internal.norrbring.se" { // There is no TLD reserved for local
// use, let's use a global name
type master;
allow-transfer {
none;
};
file "/etc/bind/db.internal.norrbring.se";
};
db.internal.norrbring.se:
; Local network, let's use very small TTLs
$TTL 300
@ IN SOA ns1.internal.norrbring.se.
hostmaster.norrbring.se. (
2006081203
600
300
200000
60)
IN NS ns1.internal.norrbring.se.
frederick IN A 192.168.123.1
goran IN A 192.168.123.2
anders IN A 192.168.123.3
...
More information about the bind-users
mailing list