<div dir="ltr"><div>Hi<br><br></div>Many thanks<br><div class="gmail_extra"><br><div class="gmail_quote">On 7 June 2016 at 15:25, Pieter Lexis <span dir="ltr"><<a href="mailto:pieter.lexis@powerdns.com" target="_blank">pieter.lexis@powerdns.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Jan,<br>
<span><br>
On Tue, 7 Jun 2016 14:54:04 +0200<br>
Jan Groenewald <<a href="mailto:jan@aims.ac.za" target="_blank">jan@aims.ac.za</a>> wrote:<br>
> I have NS entry like<br>
><br>
> 1068 dc=<a href="http://aims.ac.za" rel="noreferrer" target="_blank">aims.ac.za</a>,ou=dns,dc=aims,dc=ac,dc=za<br>
> associatedDomain: <a href="http://aims.ac.za" rel="noreferrer" target="_blank">aims.ac.za</a><br>
> dc: <a href="http://aims.ac.za" rel="noreferrer" target="_blank">aims.ac.za</a><br>
> objectClass: dNSDomain2<br>
> objectClass: domainRelatedObject<br>
> mXRecord: 1 <a href="http://aspmx.l.google.com" rel="noreferrer" target="_blank">aspmx.l.google.com</a>.<br>
> mXRecord: 10 <a href="http://aspmx2.googlemail.com" rel="noreferrer" target="_blank">aspmx2.googlemail.com</a>.<br>
> mXRecord: 10 <a href="http://aspmx3.googlemail.com" rel="noreferrer" target="_blank">aspmx3.googlemail.com</a>.<br>
> mXRecord: 5 <a href="http://alt1.aspmx.l.google.com" rel="noreferrer" target="_blank">alt1.aspmx.l.google.com</a>.<br>
> mXRecord: 5 <a href="http://alt2.aspmx.l.google.com" rel="noreferrer" target="_blank">alt2.aspmx.l.google.com</a>.<br>
> sPFRecord: "v=spf1 ip4:<a href="http://196.21.91.0/24" rel="noreferrer" target="_blank">196.21.91.0/24</a> mx include:_<a href="http://spf.google.com" rel="noreferrer" target="_blank">spf.google.com</a> -all"<br>
> tXTRecord: "v=spf1 ip4:<a href="http://196.21.91.0/24" rel="noreferrer" target="_blank">196.21.91.0/24</a> mx include:_<a href="http://spf.google.com" rel="noreferrer" target="_blank">spf.google.com</a> -all"<br>
> sOARecord: <a href="http://ns1.aims.ac.za" rel="noreferrer" target="_blank">ns1.aims.ac.za</a> <a href="mailto:hostmaster@aims.ac.za" target="_blank">hostmaster@aims.ac.za</a> 0 3600 7200 2419200 86400<br>
> nSRecord: <a href="http://hippo.ru.ac.za" rel="noreferrer" target="_blank">hippo.ru.ac.za</a>.<br>
> nSRecord: <a href="http://ns1.aims.ac.za" rel="noreferrer" target="_blank">ns1.aims.ac.za</a>.<br>
> nSRecord: <a href="http://ns2.aims.ac.za" rel="noreferrer" target="_blank">ns2.aims.ac.za</a>.<br>
> nSRecord: <a href="http://ns3.aims.ac.za" rel="noreferrer" target="_blank">ns3.aims.ac.za</a>.<br>
><br>
> I can't figure out how to (i.e. find where is the documentation) add glue<br>
> records to that. Can anyone assist? I want to serve the ADDITIONAL SECTION<br>
> with IPs for the nameservers.<br>
<br>
</span>You'll need to add aRecord and/or aAAARecord entries for the *.<a href="http://aims.ac.za" rel="noreferrer" target="_blank">aims.ac.za</a>. nSRecords. PowerDNS will pick those up and stuff these into the Additional section. See the documentation[1] for the syntax of the aRecord.<br>
<br>
Best regards,<br>
<br>
Pieter<br>
<br>
1 - <a href="https://doc.powerdns.com/md/authoritative/backend-ldap/#basic-objects" rel="noreferrer" target="_blank">https://doc.powerdns.com/md/authoritative/backend-ldap/#basic-objects</a><br>
<span><font color="#888888"><br></font></span></blockquote><div><br></div><div>OK, I tried this:<br><br>3111 dc=*,ou=dns,dc=aims,dc=ac,dc=za <br>associatedDomain: *.<a href="http://aims.ac.za" target="_blank">aims.ac.za</a> <br>dc: * <br>objectClass: dNSDomain2 <br>objectClass: domainRelatedObject <br>aRecord: 146.231.128.1 <br>aRecord: 196.21.91.2 <br>aRecord: 196.21.91.3<br>aRecord: 196.21.91.4<br>aAAARecord: 2001:4200:1010::1 <br><br></div><div>That is not working for me yet. I wonder if it is the tree structure. I have tried also<br><br>3111 dc=*,dc=<a href="http://aims.ac.za">aims.ac.za</a>,ou=dns,dc=aims,dc=ac,dc=za (adding the dc=<a href="http://aims.ac.za">aims.ac.za</a>)<br><br></div><div>My DNS from LDAP come from these subtrees<br><br>8 ou=computers,dc=aims,dc=ac,dc=za<br>ou: computers<br>description: Contains entries for all devices on the AIMS network including servers, workstations, printers, access points, switches, laptops, cellphones, iGizmos, coffee machines (TODO) etc<br>objectClass: organizationalUnit<br><br>9 ou=dns,dc=aims,dc=ac,dc=za<br>ou: dns<br>description: Contains DNS zone data not represented by individual server entries<br>objectClass: organizationalUnit<br><br></div><div><br><br>Do you have any idea or see an obvious mistake?<br><br></div><div>Regards,<br></div><div>Jan<br clear="all"></div></div><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><span style="font-family:courier new,monospace"> .~. <br> /V\ <span style="font-family:arial,helvetica,sans-serif">Jan Groenewald</span><br> /( )\ <a style="font-family:arial,helvetica,sans-serif" href="http://www.aims.ac.za" target="_blank">www.aims.ac.za</a><br> ^^-^^ </span><br></div></div>
</div></div>