<div dir="ltr">Jeff,<div>   That only works on the master zone server, without dynamic updates.  Any slave zones or zones with dynamic updates will have problems because the zone file will be overwritten with one zone each time it is updated.</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><br>-- <br>Bob Harold<br>hostmaster, UMnet, ITcom<br>Information and Technology Services (ITS)<br><a href="mailto:rharolde@umich.edu" target="_blank">rharolde@umich.edu</a><br>734-647-6524 desk<br></div></div>
<br><div class="gmail_quote">On Wed, Apr 1, 2015 at 3:08 PM, Lightner, Jeff <span dir="ltr"><<a href="mailto:JLightner@dsservices.com" target="_blank">JLightner@dsservices.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can do subdomains with the one zone file rather than having separate zones you just have to put a new ORIGIN for the subdomain.<br>
<br>
In the domain file for <domain> after the SOA and existing records (NS, A, CNAME etc...) add a line:<br>
<br>
$ORIGIN _msdcs.<domain>.        ; New subdomain<br>
Then add the records (A, CNAME, SRV etc...) that you want for that subdomain.   (You don't need to add SOA, NS etc... unless they're different for the subdomain)<br>
<br>
<br>
<br>
<br>
<br>
Jeffrey C. Lightner<br>
Sr. UNIX Administrator<br>
 <br>
DS Services of America, Inc.<br>
2300 Windy Ridge<br>
Suite 600 N<br>
Atlanta, GA  30339<br>
 <br>
P: <a href="tel:770-933-1400%20ext.3516" value="+17709331400">770-933-1400 ext.3516</a><br>
C: <a href="tel:678-772-0018" value="+16787720018">678-772-0018</a><br>
F: <a href="tel:678-460-3603" value="+16784603603">678-460-3603</a><br>
E: <a href="mailto:jlightner@dsservices.com">jlightner@dsservices.com</a><br>
<div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:bind-users-bounces@lists.isc.org">bind-users-bounces@lists.isc.org</a> [mailto:<a href="mailto:bind-users-bounces@lists.isc.org">bind-users-bounces@lists.isc.org</a>] On Behalf Of Graham Clinch<br>
Sent: Wednesday, April 01, 2015 11:56 AM<br>
To: Jeff Sadowski; <a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
Subject: Re: subdomain with domain<br>
<br>
> zone "_msdcs.<domain>" {<br>
> [..]<br>
>  file "data/db.192.168.1.2.slave";<br>
> };<br>
> zone "<domain>" {<br>
> [..]<br>
>  file "data/db.192.168.1.2.slave";<br>
> };<br>
<br>
Both zones are being backed by the same file, so one will be overwriting the other.  This may not be the cause of the half-working situation, but it won't be helping.  Do the bind logs (not sure where Fedora puts them though - /var/log/messages?) contain any errors?<br>
<br>
Unless <domain> is really '192.168.1.2', I would suggest naming your file after the zone that it is going to contain - e.g.<br>
<br>
file "data/db._msdcs.<domain>";<br>
and<br>
file  "data/db.<domain>";<br>
<br>
Graham<br>
_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</div></div></blockquote></div><br></div>