karrer@bernina.ethz.ch (Andreas Karrer) (01/19/91)
I'm setting up a DNS server with authority for "my.dom" and anyhing below, e.g. fully qualified host names like "blurfl.my.dom" and "grok.this.my.dom". Question: can i put BOTH RR's in the SAME data file, as in: $ORIGIN my.dom. blurfl IN A 129.132.1.1 ... $ORIGIN this.my.dom. grok IN A 129.132.5.4 ... or do I have to set up TWO data files, one for "XXX.my.dom" hosts and one for "XXX.this.my.dom" hosts. or - worse - does this depend on the implementation of BIND? we're talking Ultrix4.0 and SunOS 4.1 here. - andi
lars@spectrum.CMC.COM (Lars Poulsen) (01/22/91)
In article <1991Jan18.185006.8114@bernina.ethz.ch> karrer@bernina.ethz.ch (Andreas Karrer) writes: > >I'm setting up a DNS server with authority for "my.dom" and anyhing below, >e.g. fully qualified host names like "blurfl.my.dom" and "grok.this.my.dom". > >Question: can i put BOTH RR's in the SAME data file, as in: > > $ORIGIN my.dom. > blurfl IN A 129.132.1.1 > ... > $ORIGIN this.my.dom. > grok IN A 129.132.5.4 > ... > >or do I have to set up TWO data files, one for "XXX.my.dom" hosts and one >for "XXX.this.my.dom" hosts. A more readable solution: $ORIGIN my.dom. blurfl IN A 129.132.1.1 ... grok.this IN A 129.132.5.4 ... You may split the data into separate file IF AND ONLY IF they are two separate zones. Read RFC-1033 if you haven't done so already. -- / Lars Poulsen, SMTS Software Engineer CMC Rockwell lars@CMC.COM
rickert@mp.cs.niu.edu (Neil Rickert) (01/22/91)
In article <1991Jan21.225434.4809@spectrum.CMC.COM> lars@spectrum.CMC.COM (Lars Poulsen) writes: >In article <1991Jan18.185006.8114@bernina.ethz.ch> karrer@bernina.ethz.ch (Andreas Karrer) writes: >> >>Question: can i put BOTH RR's in the SAME data file, as in: > ... > >You may split the data into separate file IF AND ONLY IF they are two >separate zones. Read RFC-1033 if you haven't done so already. Well that is a little strong. We use several files for a single zone by virtue of $include. This helps organize the data. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science <rickert@cs.niu.edu> Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940