Re: DNS/RFC and includes

From: fe (fe_at_discussions.microsoft.com)
Date: 11/22/04


Date: Mon, 22 Nov 2004 14:15:07 -0800

Thanks for the post.

There we go : RFC 1035 defines the format as:

 An example :

$ORIGIN uk.mydomain.com.
@ IN NS ns2.mydomain.com.
; ns2.mydomain.com services uk.mydomain.com

$INCLUDE /path/to/file ; no ORIGIN
; INCLUDE file statements
www IN A 192.168.23.15
;www.uk.mydomain.com = 192.168.23.15
...
; end of included file

ftp IN A 192.168.35.16
; ftp.uk.mydomain.com = 192.168.35.16

Thanks for your help

Regards

F

"Herb Martin" wrote:

> > If you check the DNS RFCs, you can see that we can use a $INCLUDE
> parameter
> > in the Myzone.dns file to ask the DNS service to include all the records
> that
> > are in an external file
>
> You might supply the RFC number -- the DNS developers
> read this newsgroup and if it is truly a required RFC, which
> is doubtful, then they will likely take an interest and fix it.
>
> The reason it is doubtful that this is a required RFC is that
> such would describe the internal storage of the server
> rather than how the DNS server interacts on the network.
>
> On the other hand, if it does describe the details of the zone
> file as a requirement that might make some sense.
>
> Microsoft does tout that their DNS is RFC compliant
> and BIND compatible (note that BIND is in no technical
> way the "reference implementation" of a DNS server.)
>
>
> --
> Herb Martin
>
>
> "fe" <fe@discussions.microsoft.com> wrote in message
> news:56B4DF87-204A-4138-BB9E-1705DE048BD1@microsoft.com...
> > Guys,
> >
> > If you check the DNS RFCs, you can see that we can use a $INCLUDE
> parameter
> > in the Myzone.dns file to ask the DNS service to include all the records
> that
> > are in an external file
> >
> > For example :
> >
> > MyZone.DNS
> > $include Countrya.dns
> > $include countryb.dns
> >
> > It is very nice if you have a lot of names and if you want to split them
> in
> > different files.
> >
> > Here is my question ...
> >
> > According to the RFC (which is in UNIX) we can specify a full path to the
> > include files... but on Windows it does not work.. and I don't want to
> have
> > my file in the c:\windows\system32\dns directory...
> >
> > I tried :
> > $include c:\mydir\mars.dns
> > $include "c:\mydir\mars.dns"
> >
> > .. but when I start the service, it appears in red in the MMC.
> >
> > Do you have any advice ? I am stuck ..
> >
> > Thanks for your help
> >
> > Regards
> >
>
>
>