Using $INCLUDE in zones

mail-list-users at materna.de mail-list-users at materna.de
Mon Feb 17 13:23:40 UTC 2020


Hello,

I am trying to use $INCLUDE in zones, but getting the error "dns_master_load: file not found".
My main zone:

#################
@ 28800 IN SOA test.localhost. test.localhost. (
                                2018070402  ; serial
                                10800       ; refresh (3 hour)
                                3600        ; retry (15 minutes)
                                604800      ; expire (1 week )
                                28800       ; minimum (8 Stunden)
                                );
                        IN      A       127.0.0.1
                        IN      NS      test.localhost.
$INCLUDE db.sub.test.org sub.test.org.

#################

Content of db.sub.test.org:

#################
www     IN      A       127.0.0.1
#################

According to the documentation this should work.
What do I miss?

Greetings


More information about the bind-users mailing list