<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Thanks Al,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I will see about figuring that out.  <br>
Meanwhile I am able to tail the log when trying to query for that NS record.  <br>
This is the only named error.item I see at default settings while attempting the query. 
<br>
It’s like it will not add the record unless it already exists on the delegated server.  
<br>
Aug 27 20:54:40 NS1 named[35894]: REFUSED unexpected RCODE resolving 'dyn.6ipv.com/NS/IN': 216.218.130.2#53<o:p></o:p></p>
<p class="MsoNormal">No errors or anything “interesting” on Bind9 start & stop.  <br>
I only see that error when performing the NS query against the problem name.<o:p></o:p></p>
<p class="MsoNormal">That IP address is indeed the IP address of the delegated server.  
<br>
<br>
But I also cannot add the zone on that server provider’s system (He.net).  <br>
Because it checks MY server for the delegated NS records before it will let me add the zone there. 
<br>
Which I can’t get working as detailed above..  <br>
I am only trying to get it to work locally first and I can’t even do that, because Bind9 somehow wants to verify the<br>
zone already exists on the delegated server..   <br>
<br>
Is there a way I can get this to at least work first this way?  <br>
I would like it to be able just serve up the NS record/pointer.  <br>
Not check the remote system for sanity before letting me add the record.  <br>
This has me stuck as I can’t add the zone on the remote system, AND I can’t simply add the NS record on my local system. 
<br>
<br>
Thanks.  <br>
-Steve<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;mso-ligatures:none"> Al <aw009@sunnyside.com>
<br>
<b>Sent:</b> Wednesday, August 27, 2025 8:13 PM<br>
<b>To:</b> Steve Gladden <steve@michiganbroadband.com><br>
<b>Subject:</b> Re: Trying simple NS delegation for a subdomain * I cannot get it to load/work.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Helvetica",sans-serif">this is a job for the log files.<br>
setting up log files for named can be pretty time consuming, but even the generic setup will probably report what is causing the servfail.<br>
without the logs there isn't any easy way to find out what the problem is.<br>
if you are using views, they should be checked, but again logs are everything</span><span style="mso-ligatures:none"><o:p></o:p></span></p>
<div>
<p class="MsoNormal">On 8/27/2025 17:01, Steve Gladden wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi this is my first post ever.   <br>
I’m stuck on a very simple task that I have not been able to get it to work.  <br>
I have done this in the past with older versions of BIND but it has been quite a while. 
<br>
<br>
I’m trying to delegate to an external provider’s nameserver for a “subdomain” of mine. 
<br>
The parent zone file works properly and loads and serves everything as expected. 
<br>
But will not load and serve my NS record pointing an external provider’s DNS.    <br>
<br>
I can get much more specific as need-be   <br>
I am on and up to date version of Debian Server and up to date version of Bind9  <br>
named -v<o:p></o:p></p>
<p class="MsoNormal">BIND 9.18.28-1~deb12u2-Debian (Extended Support Version) <id:><o:p></o:p></p>
<p class="MsoNormal"><br>
This is a generic example of what I am trying to do.  <br>
The top two parent NS records load and serve as expected.<br>
As well as the A record of course.  <br>
<br>
But the delegated NS record at the bottom does not get loaded or served when queried for it 
<br>
I am using dig as you may expect to determine this.<o:p></o:p></p>
<p class="MsoNormal">I must be totally missing something simple but I am totally stumped on this at the moment. 
<br>
<br>
<br>
$TTL 3600<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">$ORIGIN domain.com.<o:p></o:p></p>
<p class="MsoNormal">@       IN      SOA     domain.com. admin.domain.com. (<o:p></o:p></p>
<p class="MsoNormal">                        2017090101      ; Serial<o:p></o:p></p>
<p class="MsoNormal">                        10800           ; Refresh<o:p></o:p></p>
<p class="MsoNormal">                        1800            ; Retry<o:p></o:p></p>
<p class="MsoNormal">                        1209600         ; Expire<o:p></o:p></p>
<p class="MsoNormal">                        3600            ; Negative Cache TTL<o:p></o:p></p>
<p class="MsoNormal">)<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">@               IN      NS      ns1.domain.com.<o:p></o:p></p>
<p class="MsoNormal">@               IN      NS      ns2.domain.com.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">@               IN      A       1.2.3.4<o:p></o:p></p>
<p class="MsoNormal">www             IN      A       1.2.3.4<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">$ORIGIN test.domain.com.<o:p></o:p></p>
<p class="MsoNormal">@               IN      NS      ns1.anothernameserver.com.<o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><br>
dig @localhost test.domain.com NS<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">; <<>> DiG 9.18.28-1~deb12u2-Debian <<>> @localhost test.domain.com ns<o:p></o:p></p>
<p class="MsoNormal">; (2 servers found)<o:p></o:p></p>
<p class="MsoNormal">;; global options: +cmd<o:p></o:p></p>
<p class="MsoNormal">;; Got answer:<o:p></o:p></p>
<p class="MsoNormal">;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 59084<o:p></o:p></p>
<p class="MsoNormal">;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">;; OPT PSEUDOSECTION:<o:p></o:p></p>
<p class="MsoNormal">; EDNS: version: 0, flags:; udp: 1232<o:p></o:p></p>
<p class="MsoNormal">; COOKIE: fb069e980ad743db0100000068af9952a0efd48210391401 (good)<o:p></o:p></p>
<p class="MsoNormal">;; QUESTION SECTION:<o:p></o:p></p>
<p class="MsoNormal">;test.domain.com.                  IN      NS<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">;; Query time: 31 msec<o:p></o:p></p>
<p class="MsoNormal">;; SERVER: 127.0.0.1#53(localhost) (UDP)<o:p></o:p></p>
<p class="MsoNormal">;; WHEN: Wed Aug 27 19:48:34 EDT 2025<o:p></o:p></p>
<p class="MsoNormal">;; MSG SIZE  rcvd: 69<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">Thank you for any pointers..   <br>
I have spent about a day searching the web before posting.  <o:p></o:p></p>
<p class="MsoNormal">Many examples say to do it the way I am doing it.  <br>
And I’ve done it before this way.<br>
Not sure what I am missing.  <br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">-SteveG<o:p></o:p></p>
<p class="MsoNormal"><span style="mso-ligatures:none"><br>
<br>
<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="mso-ligatures:none"><o:p> </o:p></span></p>
</div>
</body>
</html>