bind 9.11.2 - domain and subdomain with one zone does not work

Reindl Harald h.reindl at thelounge.net
Fri Apr 3 07:52:12 UTC 2020



Am 03.04.20 um 08:19 schrieb mail-list-users at materna.de:
> -----------------------
> 
> The zone file:
> -----------------------
> $ORIGIN .
> $TTL 604800     ; 1 week
> test.local         IN SOA  mytest.test.local. root.test.local. (
>                                 2020040123 ; serial
>                                 1800       ; refresh (30 minutes)
>                                 900        ; retry (15 minutes)
>                                 2592000    ; expire (4 weeks 2 days)
>                                 604800     ; minimum (1 week)
>                                 )
>                         NS      test.local.
>                         NS      test.local.
>                         A       127.0.0.1
>                         MX      10 test.local.
>                         MX      20 test.local.
>                         TXT     "AD buc"
> $ORIGIN test.local.
> t1	                A       127.0.0.3
> sub                     NS      test.local.
>                         NS      test.local.
>                         MX      10 test.local.
>                         MX      20 test.local.
> $ORIGIN sub.test.local.
> localhost               A       127.0.0.1
> t30                     A       127.0.0.2
> $ORIGIN test.local.
> t31              	CNAME   t1

why so much complexity to begin with?

t1       A  127.0.0.3
sub.t30  A  127.0.0.2


More information about the bind-users mailing list