<div dir="ltr"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 12, 2018 at 5:49 AM BARAJAS BERMEJO, Sergio <<a href="mailto:Sergio.BARAJAS@econocom.com">Sergio.BARAJAS@econocom.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div id="gmail-m_6282664444416459912divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
Hello,<br>
<div style="color:rgb(0,0,0)">
<div dir="ltr">
<div id="gmail-m_6282664444416459912x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif">
<div>I have an issue configuring <span>delegated subdomain zone</span> from one NS to another one.<br>
<span id="gmail-m_6282664444416459912x_result_box" lang="en"><span>For security reasons I will obviously not put real domain data (I imagine you will understand).</span></span><br>
<br>
<span id="gmail-m_6282664444416459912x_result_box" class="gmail-m_6282664444416459912x_short_text" lang="en"><span>Let's suppose that the delegated subdomain is:</span></span> <a href="http://midominio.principal.hosting.com" target="_blank">midominio.principal.hosting.com</a><br>
<span id="gmail-m_6282664444416459912x_result_box" lang="en"><span>If we make a "dig" query, putting the hosting server's NS as the domain name server</span></span>:<br>
<br>
<i>dig @<a href="http://ns1.hosting.com" target="_blank">ns1.hosting.com</a> <a href="http://midominio.principal.hosting.com" target="_blank">midominio.principal.hosting.com</a><br>
<br>
; <<>> DiG 9.10.3-P4-Debian <<>> @<a href="http://ns1.hosting.com" target="_blank">ns1.hosting.com</a> <a href="http://midominio.principal.hosting.com" target="_blank">midominio.principal.hosting.com</a><br>
; (1 server found)<br>
;; global options: +cmd<br>
;; Got answer:<br>
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40831<br>
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 3<br>
;; WARNING: recursion requested but not available<br>
<br>
;; OPT PSEUDOSECTION:<br>
; EDNS: version: 0, flags:; udp: 4096<br>
;; QUESTION SECTION:<br>
;<a href="http://midominio.principal.hosting.com" target="_blank">midominio.principal.hosting.com</a>. IN A<br>
<br>
;; AUTHORITY SECTION:<br>
<a href="http://midominio.principal.hosting.com" target="_blank">midominio.principal.hosting.com</a>. 125 IN NS <a href="http://sb2.principal.hosting.com" target="_blank">sb2.principal.hosting.com</a>.<br>
<a href="http://midominio.principal.hosting.com" target="_blank">midominio.principal.hosting.com</a>. 125 IN NS <a href="http://sb1.principal.hosting.com" target="_blank">sb1.principal.hosting.com</a>.<br>
<br>
;; ADDITIONAL SECTION:<br>
<a href="http://sb1.principal.hosting.com" target="_blank">sb1.principal.hosting.com</a>. 125 IN A xxx.xxx.xxx.52<br>
<a href="http://sb2.principal.hosting.com" target="_blank">sb2.principal.hosting.com</a>. 125 IN A xxx.xxx.xxx.53<br>
<br>
;; Query time: 12 msec<br>
;; SERVER: 31.193.224.20#53(31.193.224.20)<br>
;; WHEN: Wed Sep 12 08:09:36 CEST 2018<br>
;; MSG SIZE rcvd: 133</i><br>
<br>
<span id="gmail-m_6282664444416459912x_result_box" class="gmail-m_6282664444416459912x_short_text" lang="en"><span>From which we deduce several things:</span></span><br>
<br>
<ol style="list-style-type:decimal">
<li><span id="gmail-m_6282664444416459912x_result_box" lang="en"><span>That in the zone <a href="http://principal.hosting.com" target="_blank">principal.hosting.com</a> of the main server of the hosting there are created two registers of type A</span></span>:<br>
<ol style="list-style-type:decimal">
<li><i><a href="http://sb1.principal.hosting.com" target="_blank">sb1.principal.hosting.com</a>. 125 IN A xxx.xxx.xxx.52<br>
<a href="http://sb2.principal.hosting.com" target="_blank">sb2.principal.hosting.com</a>. 125 IN A xxx.xxx.xxx.53</i></li></ol>
</li><li><span id="gmail-m_6282664444416459912x_result_box" lang="en"><span>That the authorized DNS servers on the subdomain <a href="http://midominio.principal.hosting.com" target="_blank">midominio.principal.hosting.com</a> are</span></span>:<br>
<i><a href="http://sb1.principal.hosting.com" target="_blank">sb1.principal.hosting.com</a></i> y el <i><a href="http://sb2.principal.hosting.com" target="_blank">sb2.principal.hosting.com</a></i></li></ol>
<span id="gmail-m_6282664444416459912x_result_box" lang="en"><span>Having said that, in my vps I have defined the following</span></span>:<br>
<br>
<i>; BIND reverse data file for empty rfc1918 zone<br>
;<br>
; DO NOT EDIT THIS FILE - it is used for multiple zones.<br>
; Instead, copy it, edit named.conf, and use that copy.<br>
;<br>
</i><br>
<i>$TTL 86400</i><br>
<i>@ IN SOA sb1. sb2. mail. (<br></i></div></div></div></div></div></div></blockquote><div><br></div><div>The first field after "SOA" is the *ONE* master server for the  domain.  You cannot list two.  Should be:</div><div><div>@ IN SOA sb1. mail. (</div></div><div><br></div><div>-- </div><div>Bob Harold</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div id="gmail-m_6282664444416459912divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr"><div style="color:rgb(0,0,0)"><div dir="ltr"><div id="gmail-m_6282664444416459912x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif"><div><i>
10 ; Serial<br>
604800 ; Refresh<br>
86400 ; Retry<br>
2419200 ; Expire<br>
86400 ) ; Negative Cache TTL<br>
; REGISTROS<br>
NS sb1.</i><i><i><a href="http://principal.hosting.com" target="_blank">principal.hosting.com</a></i>.<br>
NS sb2.</i><i><i><a href="http://principal.hosting.com" target="_blank">principal.hosting.com</a></i>.<br>
IN MX 10 mail.</i><i><i><a href="http://midominio.principal.hosting.com" target="_blank">midominio.principal.hosting.com</a></i>.<br>
sb1 IN A </i><i><i>xxx.xxx.xxx</i>.52<br>
sb2 IN A </i><i><i>xxx.xxx.xxx</i>.53<br>
www IN A </i><i><i>xxx.xxx.xxx</i>.53<br>
mail IN A </i><i><i>xxx.xxx.xxx</i>.53<br>
webmail IN CNAME mail<br>
* IN A </i><i><i>xxx.xxx.xxx</i>.53</i><br>
<br>
<br>
<span id="gmail-m_6282664444416459912x_result_box" lang="en"><span>However I can not get it to solve for example <a href="http://www.midominio.principal.hosting.com" target="_blank">www.midominio.principal.hosting.com</a> </span><span>What am I doing wrong?.</span><br>
<span>Thank you very much in advance</span></span><i></i></div>
<span style="font-size:8pt;color:rgb(31,73,125)" lang="EN-US"></span><span style="font-size:8pt;color:rgb(31,73,125)" lang="EN-US"></span>
<div id="gmail-m_6282664444416459912x_Signature">
<div id="gmail-m_6282664444416459912x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" 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" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div></div></div>