This used to work but it has been a while. I have a number of zone files and all of these domains use the same mail server as well as web server. I am trying to use an include file to load these common services records like www, or mail or pop etc. So, I have the following zone file, for example:
$ORIGIN . $TTL 86400 ; 1 day domain.com IN SOA ns.domain.net. root.domain.net. ( 2008021701 ; serial 10800 ; refresh (3 hours) 3600 ; retry (1 hour) 604800 ; expire (1 week) 86400 ; minimum (1 day) ) NS ns.domain.net. NS ns2.domain.net. A 22.214.171.124 MX 10 rosewood.domain.net. MX 20 ebony.domain.net. TXT "v=spf1 mx:smtp.domain.com include:domain.com ~all" $INCLUDE "masters/domain-common-services.inc";
The $INCLUDE file has the following content:
www IN A xxx.xxx.180.162 mail IN A xx.xxx.212.58 pop IN A xx.xx.212.58
The configtest is saying"
masters/domain-common-services.inc:1: ignoring out-of-zone data (www) masters/domain-common-services.inc:2: ignoring out-of-zone data (mail) masters/domain-common-services.inc:3: ignoring out-of-zone data (pop)
Do I need some sort of an $ORIGIN statement in the include file as well?