Re: [webmin-l] BIND9

Jamie Cameron <[email protected]> Thu, 17 Apr 2025 01:11:45 +0000
Newsgroups gmane.comp.web.webmin.general
Message-ID <01110196414d46b7-8613ea6f-810c-44b8-aba1-1b7a05468644-000000@us-west-1.amazonses.com>
This is a multi-part message in MIME format.

--bound1744852304
Content-Type: multipart/alternative; boundary="altsbound1744852303"
Content-Transfer-Encoding: 7bit


--altsbound1744852303
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Ok maybe Webmin is parsing the config incorrectly. Can you attach the block from named.conf for one of these problem slave domains?

On 16/Apr/2025 17:14 Dave Overton  wrote ..  In the list of domains, open a slave domain.  (one that works already)Look at the top, =E2=80=9CMaster servers=E2=80=9D is empty.  Technically since there are no master servers any more guess that=E2=80=99s correct, but the primary server should be listed there, and if I do add a server there it gets entered wrong in the named.conf file. There are lots of places that the =E2=80=9Cmaster/slave=E2=80=9D references are still there instead of =E2=80=9Cprimary/secondary=E2=80=9D but that can be generally handled, but I think probably for consistency the master/slave stuff should be gone. Not a political statement, just annoying that the server and webmin don=E2=80=99t use the same terms. Dave OvertonOwnerSYIX.COMsms or voice 530.755.1751  From: Jamie
  Cameron  
Sent: Wednesday, April 16, 2025 4:05 PM
To: [email protected]; Webmin users list 
Cc: [email protected]; Dave Overton 
Subject: Re: [webmin-l] BIND9 Webmin should already handle the different names for master/primary and secondary/slave zone names, unless there's a bug. What goes wrong exactly when you try to add a zone?   
On 16/Apr/2025 12:23 Dave Overton via webadmin-list wrote .. Bind 9 is =E2=80=9Cwoke=E2=80=9D and has been for a while, so we no longer have =E2=80=9CMaster/Slave=E2=80=9D its been replaced by =E2=80=9CPrimary/Secondary=E2=80=9D The folders on a default install look like this: drwxr-xr-x  2 bind bind  uarch     2 Apr  2 23:37 dynamic/-rw-r--r--  1 root wheel uarch 21992 Apr  2 23:37 named.conf-rw-r--r--  1 root wheel uarch 21992 Apr  2 23:37 named.conf.sample-rw-r--r--  1 root wheel uarch  3314 Apr  2 23:37 named.rootdrwxr-xr-x  2 root wheel uarch     5 Apr 16 11:31 primary/drwxr-xr-x  2 bind bind  uarch     2 Apr  2 23:37 secondary/drwxr-xr-x  2 bind bind&nbs p; uarch     2 Apr  2 23:37 working/ So, now take a look at the Bind Module in Webmin. Add a domain to the =E2=80=9CMaster=E2=80=9D
  failsAdd a domain as a =E2=80=9CSlave=E2=80=9D fails. Not unexpected, as those folders aren=E2=80=99t there anymore. But anyway, figured I would point it out, since I know you have nothing 
 else to do  =F0=9F=98=8A  (and yes, I have it working, just requires a bit of fiddling) (maybe there is a new hidden Bind9 module?)   Dave OvertonOwnerSYIX.COMsms or voice 530.755.1751   
 
 

--altsbound1744852303
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p style=3D"margin: 0; padding: 0; line-height: 1.231;">Ok maybe Webmin is parsing the config incorrectly. Can you attach the block from named.conf for one of these problem slave domains?</p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><br></p><br>On 16/Apr/2025 17:14 Dave Overton <[email protected]> wrote ..
<blockquote style=3D"margin: 0 0 0 .8ex; border-left: 1px solid #ccc !important; padding-left: 1ex;">
<div class=3D"WordSection1"><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">In the list of domains, open a slave domain.&nbsp; (one that works already)<o:p></o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Look at the top, =E2=80=9CMaster servers=E2=80=9D is empty.&nbsp; Technically since there are no master servers any more guess that=E2=80=99s correct, but the primary server should be listed there, and if I do add a server there it gets entered wrong in the named.conf file.<o:p></o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&q
 uot;,sans-serif"><o:p>&nbsp;</o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">There are lot
 s of places that the =E2=80=9Cmaster/slave=E2=80=9D references are still there instead of =E2=80=9Cprimary/secondary=E2=80=9D but that can be generally handled, but I think probably for consistency the master/slave stuff should be gone.<o:p></o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Not a political statement, just annoying that the server and webmin don=E2=80=99t use the same terms.<o:p></o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-s
 erif"><o:p>&nbsp;</o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Dave Overton<o:p></o:p><
 /span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Owner<o:p></o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">SYIX.COM<o:p></o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">sms or voice 530.755.1751 <o:p></o:p></span></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p><div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p style=3D"margin: 0; padding: 0; line-heig
 ht: 1.231;"><b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Jamie 
 Cameron <[email protected]> <br><b>Sent:</b> Wednesday, April 16, 2025 4:05 PM<br><b>To:</b> [email protected]; Webmin users list <[email protected]><br><b>Cc:</b> [email protected]; Dave Overton <[email protected]><br><b>Subject:</b> Re: [webmin-l] BIND9<o:p></o:p></[email protected]></[email protected]></[email protected]></span></p></div><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><o:p>&nbsp;</o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Webmin should already handle the different names for master/primary and secondary/slave zone names, unless there's a bug.<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><o:p>&nbsp;</o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">What goe
 s wrong exactly when you try to add a zone?<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><o:p>&nbsp;</o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"
 ><o:p>&nbsp;</o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><o:p>&nbsp;</o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><br>On 16/Apr/2025 12:23 Dave Overton via webadmin-list wrote .. <o:p></o:p></p><blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 0in;margin-left:4.8pt;margin-right:0in"><div><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">Bind 9 is =E2=80=9Cwoke=E2=80=9D and has been for a while, so we no longer have =E2=80=9CMaster/Slave=E2=80=9D its been replaced by =E2=80=9CPrimary/Secondary=E2=80=9D</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line
 -height: 1.231;"><span style=3D"font-size:11.0pt">The folders on a default install look like this:</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D
 "font-size:11.0pt">&nbsp;</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">drwxr-xr-x&nbsp; 2 bind bind&nbsp; uarch&nbsp;&nbsp;&nbsp;&nbsp; 2 Apr&nbsp; 2 23:37 dynamic/</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">-rw-r--r--&nbsp; 1 root wheel uarch 21992 Apr&nbsp; 2 23:37 named.conf</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">-rw-r--r--&nbsp; 1 root wheel uarch 21992 Apr&nbsp; 2 23:37 named.conf.sample</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">-rw-r--r--&nbsp; 1 root wheel uarch&nbsp; 3314 Apr&nbsp; 2 23:37 named.root</span><o:p></o
 :p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">drwxr-xr-x&nbsp; 2 root wheel uarch&nbsp;&nbsp;&nbsp;&nbsp; 5 Apr 16 11:31 primary/</span><o:p
 ></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">drwxr-xr-x&nbsp; 2 bind bind&nbsp; uarch&nbsp;&nbsp;&nbsp;&nbsp; 2 Apr&nbsp; 2 23:37 secondary/</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">drwxr-xr-x&nbsp; 2 bind bind&amp;nbs p; uarch&nbsp;&nbsp;&nbsp;&nbsp; 2 Apr&nbsp; 2 23:37 working/</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">So, now take a look at the Bind Module in Webmin.</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">&nbsp;<
 /span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">Add a domain to the =E2=80=9CMaster=E2=80=9D fails</span><o:p></o:p></p><p style
 =3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">Add a domain as a =E2=80=9CSlave=E2=80=9D fails.</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">Not unexpected, as those folders aren=E2=80=99t there anymore.<o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">But anyway, figured I would point it out, since I know you have nothing else to do&nbsp; </span><span style=3D"font-size:11.0pt;font-family:&quot;Segoe UI Emoji&quot;,sans-serif">=F0=9F=98=8A<
 /span><span style=3D"font-size:11.0pt">&nbsp; (and yes, I have it working, just requires a bit of fiddling)</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span
  style=3D"font-size:11.0pt">&nbsp;</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">(maybe there is a new hidden Bind9 module?)</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">&nbsp;</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">Dave Overton</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">Owner</span><o:p></o:p></p
 ><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D"font-size:11.0pt">SYIX.COM</span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;"><span style=3D
 "font-size:11.0pt">sms or voice 530.755.1751 </span><o:p></o:p></p><p style=3D"margin: 0; padding: 0; line-height: 1.231;">&nbsp;<o:p></o:p></p></div></blockquote><p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p></div></blockquote><br>
<br>
	<style>
	  html, body { overflow-y: hidden; }
	  div[contenteditable] { outline: none; }
	  
	</style></[email protected]><style data-iframe-mode=3D"simple">.ql-align-left{text-align:left}.ql-align-center{text-align:center}.ql-align-right{text-align:right}p{margin:0;padding:0;line-height:1.231;}blockquote{margin:0 0 0 .8ex;border-left:1px solid #ccc!important;padding-left:1ex} </style>

--altsbound1744852303--


--bound1744852304
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--bound1744852304
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list

--bound1744852304--