From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5782C16A7C920E469B74E11B5608B8E708A30DFE@Kriegler.ntdom.cupdx> References: <5782C16A7C920E469B74E11B5608B8E708A30DFE@Kriegler.ntdom.cupdx> From: Sergey Zhilkin Date: Fri, 29 Apr 2011 11:04:57 +0400 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] dns SRV records Topicbox-Message-UUID: d7ff729a-ead6-11e9-9d60-3106f5b1d025 Greate example ! :) Thanks :) 2011/4/29 Benjamin Huntsman : >>Investigating the possibility of replacing the MS DNS on Plan9 DNS,not fo= und in the man ndb mention of records of type SRV. >>It is necessary to support Microsoft Active Directory. Maybe I missed som= ething? >>http://en.wikipedia.org/wiki/SRV_record > > I got AD to work with Plan 9 DNS just last year. =C2=A0It didn't work ver= y well, and I had problems with the DNS > service dying from time to time and I'd have to go restart it. =C2=A0Much= as I'd preferred to have stayed on Plan 9 DNS, > I switched to BIND 9 on OpenBSD and have had far fewer problems. =C2=A0Bu= t anyway, here's the Active Directory support > portion of my /ndb/local. =C2=A0This supported a domain whose domain was = "testad". =C2=A0Like I said, it works, but not as > seamlessly as MS DNS or BIND 9 with dynamic updates enabled... =C2=A0(par= don the excessive comments) > > > > ################################################# > # > # Active Directory support > # See http://technet.microsoft.com/en-us/library/dd316373.aspx > # > ################################################# > > # > # Domain Controllers: > # > ip=3D10.0.0.20 sys=3Dkfdc1 dom=3Dkfdc1.testad.test.local > =C2=A0 =C2=A0 =C2=A0 =C2=A0ether=3D > ip=3D10.0.0.21 sys=3Dkfdc2 dom=3Dkfdc2.testad.test.local > =C2=A0 =C2=A0ether=3D005056b36086 > > # > # requisite CNAME aliases > # > cname=3Dkfdc2.testad.test.local > =C2=A0 =C2=A0 =C2=A0 =C2=A0dom=3Dtestad.test.local > > cname=3Dkfdc2.testad.test.local > =C2=A0 =C2=A0 =C2=A0 =C2=A0dom=3D8df1f9af-8c89-4263-9c30-a40ad5ac728f._ms= dcs.testad.test.local > > # > # SRV records, etc > # > dom=3Dtestad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0refresh=3D3600 ttl=3D3600 > =C2=A0 =C2=A0 =C2=A0 =C2=A0ns=3Dns2.test.local > =C2=A0 =C2=A0 =C2=A0 =C2=A0#ns=3Dns1.test.local > =C2=A0 =C2=A0 =C2=A0 =C2=A0dnsdomain=3Dtestad.test.local > > > dom=3D_ldap._tcp.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D389 > =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight=3D1 port=3D389 > > dom=3D_kerberos._tcp.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D88 > =C2=A0 =C2=A0srv=3Dkfcd2.testad.test.local pri=3D1 weight=3D1 port=3D88 > > dom=3D_kpasswd._udp.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D464 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D464 > > dom=3D_kpasswd._tcp.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D464 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D464 > > dom=3D_ldap._tcp.dc._msdcs.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D389 > =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight=3D1 port=3D389 > > dom=3D_ldap._tcp.gc._msdcs.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D389 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D389 > > # only one PDC > dom=3D_ldap._tcp.pdc._msdcs.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D0 weight= =3D0 port=3D389 > > dom=3D_ldap._tcp.KlamathFalls._sites.gc._msdcs.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D389 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D389 > > dom=3D_kerberos._tcp.dc._msdcs.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D88 > =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight=3D1 port=3D88 > > dom=3Dgc._msdcs.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D3268 > =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight=3D1 port=3D3268 > > dom=3D_gc._tcp.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D3268 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D3268 > > dom=3D_ldap._tcp.e3514235-4b06-11d1-ab04-00c04fc2dcd2.domains._msdcs.test= ad.test.local > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D389 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D389 > > # Key Management Service > dom=3D_VLMCS._tcp.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D0 weight= =3D0 port=3D1688 > > dom=3D_ldap._tcp.KlamathFalls._sites.domaindnszones.testad.test.local soa= =3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D389 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D389 > > dom=3D_ldap._tcp.domaindnszones.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D389 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D389 > > dom=3D_ldap._tcp.KlamathFalls._sites.forestdnszones.testad.test.local soa= =3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D389 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D389 > > dom=3D_ldap._tcp.forestdnszones.testad.test.local soa=3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc1.testad.test.local pri=3D0 weight= =3D0 port=3D389 > =C2=A0 =C2=A0 =C2=A0 =C2=A0srv=3Dkfdc2.testad.test.local pri=3D1 weight= =3D1 port=3D389 > > > > ################################################# > # > # End Active Directory Support > # > ################################################# > --=20 =D0=A1 =D0=BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=BF= =D0=BE=D0=B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8 =D0=96=D0=B8=D0=BB=D0=BA=D0=B8=D0=BD =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 With best regards Zhilkin Sergey