$include
Joseph S D Yao
jsdy at cospo.osis.gov
Thu Feb 1 22:45:02 UTC 2001
On Thu, Feb 01, 2001 at 03:54:40PM -0500, Charles Bodley wrote:
>
> that worked for ttl but won't work for NS
> Feb 1 15:53:12 ns1 named[14249]: /var/named/NS:1: data "IN.com" outside
> zone "test.com" (ignored)
> Feb 1 15:53:12 ns1 named[14249]: Zone "test.com" (file db.test_com): no NS
> RRs found at zone top
> Feb 1 15:53:12 ns1 named[14249]: master zone "test.com" (IN) rejected due
> to errors (serial 2001020101)
>
> Any Ideas?
I hadn't even noticed that $ORIGIN at the beginning. IMNSHO, they are
almost always confusing and evil. Remove it.
Try:
TTL
$TTL 3600
NS
@ IN NS ns.tflogic.com.
@ IN NS ns2.tflogic.com.
; zone 'test.com'
$include /var/named/TTL
@ IN SOA test.com. hostmaster.tflogic.com. (
2001020101
43200
7200
1209600
3600 )
;
$include /var/named/NS
...
As I mentioned before, the "MX" include will NOT work. However, you
can do this:
$include /var/named/MX
where the file MX contains:
@ IN MX 10 tflogic.com.
--
Joe Yao jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.
More information about the bind-users
mailing list