Re: [webmin-l] BIND9
Dave Overton via webadmin-list <[email protected]> Thu, 17 Apr 2025 15:14:46 -0700
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Organization | syix.com |
| Message-ID | <[email protected]> |
This is a multipart message in MIME format. --===============8883023130594884378== Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A1_01DBAFAB.74A63680" Content-Language: en-us This is a multipart message in MIME format. ------=_NextPart_000_00A1_01DBAFAB.74A63680 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Found another strange thing. =20 (I=E2=80=99m moving a bunch of domains to a new server, so fun things = abound.) =20 This is technically a Virtualmin issue, but it=E2=80=99s sort of = connected. =20 This page: = https://www.virtualmin.com/docs/data-operations/how-to-migrate-to-a-new-s= erver =20 First this: virtualmin backup-domain --dest /root/backups/ --all-domains = --all-features --newformat --all-virtualmin =20 Then This: virtualmin restore-domain --source /root/backups/virtualmin.tar.gz = --all-virtualmin =20 The =E2=80=9CCluster Slave Servers=E2=80=9D don=E2=80=99t make the trip. = So the restored domains (next thing on the list of things to do) fails = to setup the secondary server on the remote machine, but it thinks it = did=E2=80=A6 And doesn=E2=80=99t mention that all the create/delete on = the =E2=80=9Cother=E2=80=9D server fails. =20 Like this: Deleting secondary DNS zone on ns2.syix.com .. .. done =20 =20 Dave Overton Owner SYIX.COM sms or voice 530.755.1751=20 =20 From: Jamie Cameron <[email protected]>=20 Sent: Wednesday, April 16, 2025 6:12 PM To: [email protected] Cc: [email protected] Subject: Re: [webmin-l] BIND9 =20 Ok maybe Webmin is parsing the config incorrectly. Can you attach the = block from named.conf for one of these problem slave domains? =20 On 16/Apr/2025 17:14 Dave Overton wrote ..=20 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. =20 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. =20 Not a political statement, just annoying that the server and webmin = don=E2=80=99t use the same terms. =20 Dave Overton< /span> Owner SYIX.COM sms or voice 530.755.1751=20 =20 From: Jamie Cameron=20 Sent: Wednesday, April 16, 2025 4:05 PM To: [email protected] <mailto:[email protected]> ; Webmin users list=20 Cc: [email protected] = <mailto:[email protected]> ; Dave Overton=20 Subject: Re: [webmin-l] BIND9 =20 Webmin should already handle the different names for master/primary and = secondary/slave zone names, unless there's a bug. =20 What goes wrong exactly when you try to add a zone? =20 =20 =20 On 16/Apr/2025 12:23 Dave Overton via webadmin-list wrote ..=20 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 =20 The folders on a default install look like this: =20 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.root drwxr-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/ =20 So, now take a look at the Bind Module in Webmin. =20 Add a domain to the =E2=80=9CMaster=E2=80=9D fails Add a domain as a =E2=80=9CSlave=E2=80=9D fails. =20 Not unexpected, as those folders aren=E2=80=99t there anymore. =20 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) =20 (maybe there is a new hidden Bind9 module?) =20 =20 =20 Dave Overton Owner SYIX.COM sms or voice 530.755.1751=20 =20 =20 =20 ------=_NextPart_000_00A1_01DBAFAB.74A63680 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta = http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta = name=3DGenerator content=3D"Microsoft Word 15 (filtered = medium)"><style><!-- /* Font Definitions */ @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:"Segoe UI Emoji"; panose-1:2 11 5 2 4 2 4 2 2 3;} @font-face {font-family:Aptos;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; font-size:12.0pt; font-family:"Aptos",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} span.EmailStyle23 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only;} @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=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue = vlink=3Dpurple style=3D'word-wrap:break-word'><div = class=3DWordSection1><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Found = another strange thing.<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </= o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>(I=E2=80=99m = moving a bunch of domains to a new server, so fun things = abound.)<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </= o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>This is = technically a Virtualmin issue, but it=E2=80=99s sort of = connected.<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </= o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>This = page:=C2=A0 <a = href=3D"https://www.virtualmin.com/docs/data-operations/how-to-migrate-to= -a-new-server">https://www.virtualmin.com/docs/data-operations/how-to-mig= rate-to-a-new-server</a><o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </= o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>First = this:<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>virtualmin = backup-domain --dest /root/backups/ --all-domains --all-features = --newformat --all-virtualmin=C2=A0 <o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Then = This:<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>virtualmin = restore-domain --source /root/backups/virtualmin.tar.gz = --all-virtualmin<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </= o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>The = =E2=80=9CCluster Slave Servers=E2=80=9D don=E2=80=99t make the = trip.=C2=A0 So the restored domains (next thing on the list of things to = do) fails to setup the secondary server on the remote machine, but it = thinks it did=E2=80=A6=C2=A0 And doesn=E2=80=99t mention that all the = create/delete on the =E2=80=9Cother=E2=80=9D server = fails.<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </= o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Like = this:<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Deleting = secondary DNS zone on ns2.syix.com ..<br>.. done<o:p></o:p></span></p><p = class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </= o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </= o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Dave = Overton<o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Owner<o:p></o= :p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>SYIX.COM<o:p>= </o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>sms or voice = 530.755.1751 <o:p></o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><o:p> </= o:p></span></p><div style=3D'border:none;border-top:solid #E1E1E1 = 1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span><= /b><span style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> = Jamie Cameron <[email protected]> <br><b>Sent:</b> Wednesday, = April 16, 2025 6:12 PM<br><b>To:</b> [email protected]<br><b>Cc:</b> = [email protected]<br><b>Subject:</b> Re: [webmin-l] = BIND9<o:p></o:p></span></p></div><p = class=3DMsoNormal><o:p> </o:p></p><p>Ok maybe Webmin is parsing the = config incorrectly. Can you attach the block from named.conf for one of = these problem slave domains?<o:p></o:p></p><p><o:p> </o:p></p><p = class=3DMsoNormal><br>On 16/Apr/2025 17:14 Dave Overton 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><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>In the list = of domains, open a slave domain. (one that works = already)</span><o:p></o:p></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>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.</span><o:p></o:p></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> </span>= <o:p></o:p></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",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.</span><o:p></o:p></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> </span>= <o:p></o:p></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Not a = political statement, just annoying that the server and webmin = don=E2=80=99t use the same terms.</span><o:p></o:p></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> </span>= <o:p></o:p></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Dave = Overton< /span><o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Owner<o:p></o= :p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>SYIX.COM<o:p>= </o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>sms or voice = 530.755.1751 <o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><div style=3D'border:none;border-top:solid #E1E1E1 = 1.0pt;padding:3.0pt 0in 0in 0in'><p><b><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span><= /b><span style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> = Jamie Cameron <br><b>Sent:</b> Wednesday, April 16, 2025 4:05 = PM<br><b>To:</b> <a href=3D"mailto:[email protected]">[email protected]</a>; = Webmin users list <br><b>Cc:</b> <a = href=3D"mailto:[email protected]">[email protected]= ourceforge.net</a>; Dave Overton <br><b>Subject:</b> Re: [webmin-l] = BIND9<o:p></o:p></span></p></div><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Webmin = should already handle the different names for master/primary and = secondary/slave zone names, unless there's a = bug.<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>What goes = wrong exactly when you try to add a zone?<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><br>On = 16/Apr/2025 12:23 Dave Overton via webadmin-list wrote .. = <o:p></o:p></span></p><blockquote style=3D'border:none;border-left:solid = #CCCCCC 1.0pt;padding:0in 0in 0in = 0in;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0= pt'><div><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>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<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>The folders = on a default install look like this:<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>drwxr-xr-x&nb= sp; 2 bind bind uarch 2 Apr 2 23:37 = dynamic/<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>-rw-r--r--&nb= sp; 1 root wheel uarch 21992 Apr 2 23:37 = named.conf<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>-rw-r--r--&nb= sp; 1 root wheel uarch 21992 Apr 2 23:37 = named.conf.sample<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>-rw-r--r--&nb= sp; 1 root wheel uarch 3314 Apr 2 23:37 = named.root<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>drwxr-xr-x&nb= sp; 2 root wheel uarch 5 Apr 16 11:31 = primary/<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>drwxr-xr-x&nb= sp; 2 bind bind uarch 2 Apr 2 23:37 = secondary/<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>drwxr-xr-x&nb= sp; 2 bind bind&nbs p; uarch 2 Apr 2 = 23:37 working/<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>So, now take = a look at the Bind Module in Webmin.<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Add a domain = to the =E2=80=9CMaster=E2=80=9D fails<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Add a domain = as a =E2=80=9CSlave=E2=80=9D fails.<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Not = unexpected, as those folders aren=E2=80=99t there = anymore.<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>But anyway, = figured I would point it out, since I know you have nothing else to = do </span><span style=3D'font-size:11.0pt;font-family:"Segoe UI = Emoji",sans-serif'>😊</span><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> (and = yes, I have it working, just requires a bit of = fiddling)<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>(maybe there = is a new hidden Bind9 module?)<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Dave = Overton<o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Owner<o:p></o= :p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>SYIX.COM<o:p>= </o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>sms or voice = 530.755.1751 <o:p></o:p></span></p><p><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p></div></blockquote><p class=3DMsoNormal = style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'><span = style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> <o:p></= o:p></span></p></div></blockquote><p class=3DMsoNormal = style=3D'margin-bottom:12.0pt'><o:p> </o:p></p></div></body></html> ------=_NextPart_000_00A1_01DBAFAB.74A63680-- --===============8883023130594884378== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============8883023130594884378== 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 --===============8883023130594884378==--