Basic tips and hints for an internal authoritative server
Anders Norrbring
lists at norrbring.se
Wed Sep 20 15:25:00 UTC 2006
Stephane Bortzmeyer skrev:
> 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
> ...
Thanks a lot! I was thinking along that line... Feels good to get it
verified!
--
Anders Norrbring
More information about the bind-users
mailing list