bind9 delegation
Mario Guenterberg
mg at havelsoft.com
Mon Jan 14 07:54:19 UTC 2008
On Sun, Jan 13, 2008 at 09:06:50PM -0800, ubuntu at acrasis.net wrote:
> On a small network, a host 'neptune' is the nameserver for an internal
> domain 'nicklan'. I would like one of the hosts, 'nicklite.nicklan', to
> be the nameserver for the subdomain 'jupiter.nicklan'. The hosts in
> this subdomain will all be one and the same as 'nicklite.nicklan'.
>
> neptune and nicklite both run bind9. The respective zone files are
>
> neptune:
> @ IN SOA neptune.nicklan. root.localhost. (
> 56 ; Serial
> 3h ; Refresh
> 1h ; Retry
> 1w ; Expire
> 1h ) ; Negative Cache TTL
> ;
> IN NS neptune.nicklan.
>
> @ IN A 172.23.63.2
> neptune IN A 172.23.63.2
> nicklite IN A 172.23.63.100
>
> ; Attempt delegation of 'jupiter' subdomain.
> jupiter.nicklan. IN NS ns.jupiter.nicklan.
> ns.jupiter.nicklan. A 172.23.63.100
>
> nicklite:
> @ IN SOA ns.jupiter.nicklan. root.localhost. (
> 32 ; Serial
> 3h ; Refresh
> 1h ; Retry
> 1w ; Expire
> 1h ) ; Negative Cache TTL
> ;
> IN NS ns.jupiter.nicklan.
>
> @ IN A 172.23.63.100
> ns IN A 172.23.63.100
> foo IN CNAME ns
>
> The nameserver on nicklite seems to work, e.g.
>
> # host foo.jupiter.nicklan.
> foo.jupiter.nicklan is an alias for ns.jupiter.nicklan.
> ns.jupiter.nicklan has address 172.23.63.100
>
> Likewise the nameserver on neptune, e.g.
>
> # host nicklite.nicklan.
> nicklite.nicklan has address 172.23.63.100
>
> But the nameserver on neptune does not seem to know about the subdomain:
>
> # host foo.jupiter.nicklan.
> Host foo.jupiter.nicklan not found: 3(NXDOMAIN)
>
> Am I trying to do something infeasible, and if not, how to make it work?
Hi,
why you configure bind not on only one nameserver and insert a alias
to your subdomain?
yoursubdomain.nicklan. IN CNAME yourserver.nicklan.
It works fine and you don't have overhead.
Greetings
Mario
--
-----------------------------------------------------
| havelsoft.com |
| Tel: 033876-21 966 |
| http://www.havelsoft.com |
| |
| Inhaber: Mario Günterberg |
| Garlitzer Dorfstr. 18 |
| 14715 Märkisch Luch |
-----------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080114/a0007722/attachment.sig>
More information about the ubuntu-users
mailing list