<div dir="ltr">Hi Jeffery,<div><br></div><div>I actually just got my ddns working today. I am not sure why you would want different DDNS per subnet. DDNS is just the update mechanism to your DNS server. I suppose you could allocate a sub-domain per subnet, but im not sure how you can do that.</div><div><br></div><div>I think the best way to proceed is to get the syntax correct. Then test and see what it is doing. Does the domain-name option govern the FQDN sent in DDNS? Perhaps try this config and tweak it. </div><div><br></div><div><br></div><font face="monospace, monospace">"Dhcp4": {</font><div><font face="monospace, monospace"> "valid-lifetime": 300,</font></div><div><font face="monospace, monospace"> "subnet4": [ </font></div><div><font face="monospace, monospace"> { </font></div><div><font face="monospace, monospace"> "subnet": "<a href="http://10.14.130.0/29">10.14.130.0/29</a>",</font></div><div><font face="monospace, monospace"> "id": 168722944,<br> "option-data": [<br> {<br> "name": "routers",<br> "data": "10.14.130.1"<br> },<br> {<br> "name": "domain-name",<br> "data": "<a href="http://dallas.charlietango.com">dallas.charlietango.com</a>"<br> }<br> ],<br> "pools": [<br> {<br> "pool": "10.14.130.2 - 10.14.130.6"<br> }<br> ],<br> }</font></div><div><font face="monospace, monospace"> ],<br> "dhcp-ddns": {<br> "enable-updates": true,<br> "replace-client-name": "when-not-present",</font></div><div><font face="monospace, monospace"> "generated-prefix": "dhcp",<br> "qualifying-suffix": "<a href="http://charlietango.com">charlietango.com</a>"<br> },<br>},</font></div><div><font face="monospace, monospace"><div>"DhcpDdns": {</div><div> "forward-ddns": {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"ddns-domains": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"name": "<a href="http://dallas.charlietango.com">dallas.charlietango.com</a>",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"key-name": "",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"dns-servers": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> { "ip-address": "172.16.1.5" },</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> { "ip-address": "172.16.2.5" }</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> },</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> {<br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"name": "<a href="http://charlietango.com">charlietango.com</a>",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"key-name": "",</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"dns-servers": [</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> { "ip-address": "172.16.2.5" }</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> },</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>]</div><div> }</div><div>}</div></font><div><br></div></div><div>Cheers,</div><div>Jason</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 17, 2017 at 9:44 PM, Jeffery Harrell <span dir="ltr"><<a href="mailto:sparky@charlietango.com" target="_blank">sparky@charlietango.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div id="m_-8675865328412498377bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Is there any way to have different DDNS options — generated-prefix and qualifying-suffix — per subnet? I tried the obvious things:</div><div id="m_-8675865328412498377bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="m_-8675865328412498377bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> {</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "id": 168722944,</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "subnet": "<a href="http://10.14.130.0/29" target="_blank">10.14.130.0/29</a>",</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "dhcp-ddns": {</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "enable-updates": true,</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "replace-client-name": "when-not-present",</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "generated-prefix": "dhcp",</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "qualifying-suffix": "<a href="http://dallas.charlietango.com" target="_blank">dallas.charlietango.com</a>"</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> },</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "valid-lifetime": 300,</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "option-data": [</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> {</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "name": "routers",</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "data": "10.14.130.1"</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> },</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> {</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "name": "domain-name",</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "data": "<a href="http://dallas.charlietango.com" target="_blank">dallas.charlietango.com</a>"</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> }</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> ],</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "pools": [</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> {</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> "pool": "10.14.130.2 - 10.14.130.6"</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> }</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> ]</div><div id="m_-8675865328412498377bloop_customfont" style="margin:0px"> },</div><div><br></div><div>and</div><div><br></div><div><div> {</div><div> "id": 168722944,</div><div> "subnet": "<a href="http://10.14.130.0/29" target="_blank">10.14.130.0/29</a>",</div><div> "generated-prefix": "dhcp",</div><div> "qualifying-suffix": "<a href="http://dallas.charlietango.com" target="_blank">dallas.charlietango.com</a>",</div><div> "valid-lifetime": 300,</div><div> "option-data": [</div><div> {</div><div> "name": "routers",</div><div> "data": "10.14.130.1"</div><div> },</div><div> {</div><div> "name": "domain-name",</div><div> "data": "<a href="http://dallas.charlietango.com" target="_blank">dallas.charlietango.com</a>"</div><div> }</div><div> ],</div><div> "pools": [</div><div> {</div><div> "pool": "10.14.130.2 - 10.14.130.6"</div><div> }</div><div> ]</div><div> },</div></div><div><br></div><div>and both got kicked out for being unsupported parameters. The documentation suggests these are global settings only, but I’d really like to have them differ by subnets without setting up <i>entirely</i> different Kea servers to service the different subnets. Is there a trick for it?</div><div><br></div><div>Thanks!</div></div><br><div class="m_-8675865328412498377bloop_sign" id="m_-8675865328412498377bloop_sign_1484707169062632960"></div></div>
<br>______________________________<wbr>_________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/kea-users</a><br>
<br></blockquote></div><br></div>