<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Split DNS API in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450599#M7867</link>
    <description>&lt;P&gt;I am &lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2024 08:38:19 GMT</pubDate>
    <dc:creator>JamesT91</dc:creator>
    <dc:date>2024-11-28T08:38:19Z</dc:date>
    <item>
      <title>Split DNS API</title>
      <link>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450597#M7865</link>
      <description>&lt;TABLE cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;A class="" title="https://developer.cisco.com/meraki/api-v1/create-organization-appliance-dns-split-profile/" href="https://developer.cisco.com/meraki/api-v1/create-organization-appliance-dns-split-profile/" target="_blank" rel="external noopener nofollow noreferrer"&gt;APIs for Local and Split DNS Service&lt;/A&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;This feature allows administrators to determine which DNS requests are answered by which DNS servers.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I have raised a Meraki support ticket, but wanted to reach out to the community anyway to see if anyone had used this API / new feature yet.&lt;/P&gt;&lt;P&gt;The first issue I had is when trying to add multiple nameserver addresses, it threw an error saying: &lt;EM&gt;"More than one address is in addresses"&lt;/EM&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample language-python"&gt;&lt;CODE&gt;import requests

url = "https://api.meraki.com/api/v1/organizations/ORG_ID/appliance/dns/split/profiles"

payload = '''{
    "name": "8x8 DNS Profile",
    "hostnames": [ "*.8x8.com", "*.packet8.net" ],
    "nameservers": { "addresses": [ "8.28.0.9", "192.84.18.11" ] }
}'''

headers = {
    "Authorization": "Bearer API_TOKEN",
    "Content-Type": "application/json",
    "Accept": "application/json"
}

response = requests.request('POST', url, headers=headers, data = payload)

print(response.text.encode('utf8'))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When I added a profile with only one nameserver I was not convinced it was actually redirecting traffic to the specified nameserver, because a packet capture on the Internet port showed the DNS query going to the clients DNS server, which is set to Proxy to upstream DNS rather than the one added in the DNS profile via the API...&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 09:25:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450597#M7865</guid>
      <dc:creator>JamesT91</dc:creator>
      <dc:date>2024-11-27T09:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Split DNS API</title>
      <link>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450598#M7866</link>
      <description>&lt;P&gt;This is an interesting new feature you have found.&lt;/P&gt;&lt;P&gt;I suspect you'll need to be running the latest MX 19.x code for this to work.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 06:19:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450598#M7866</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2024-11-28T06:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Split DNS API</title>
      <link>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450599#M7867</link>
      <description>&lt;P&gt;I am &lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 08:38:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450599#M7867</guid>
      <dc:creator>JamesT91</dc:creator>
      <dc:date>2024-11-28T08:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Split DNS API</title>
      <link>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450600#M7868</link>
      <description>&lt;P&gt;This is an Early Access call, it may be that it's still being tweaked/debugged.&lt;/P&gt;&lt;P&gt;I'd post the query in the API Early Access group &lt;A href="https://community.meraki.com/t5/API-Early-Access-Group/gh-p/api-early-access" target="_blank"&gt;https://community.meraki.com/t5/API-Early-Access-Group/gh-p/api-early-access&lt;/A&gt; if you're not a member you can request access.&lt;/P&gt;&lt;P&gt;There's also a direct feedback email available, you'll see it if/once you have group access.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 10:05:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450600#M7868</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-11-28T10:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Split DNS API</title>
      <link>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450601#M7869</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/1069"&gt;@jscorb&lt;/A&gt; I found this early access group last night and was granted entry this morning. I have emailed the direct feedback address and will see where that gets me. &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 10:23:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450601#M7869</guid>
      <dc:creator>JamesT91</dc:creator>
      <dc:date>2024-11-28T10:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Split DNS API</title>
      <link>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450602#M7870</link>
      <description>&lt;P&gt;I've got one step further, in that there is a second API call required to then bind the split DNS profile to a network: &lt;A href="https://developer.cisco.com/meraki/api-v1/create-organization-appliance-dns-split-profiles-assignments-bulk-create/" target="_blank" rel="nofollow noopener noreferrer"&gt;Create Organization Appliance Dns Split Profiles Assignments Bulk Create - Meraki Dashboard API v1 - Cisco Meraki Developer Hub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Alas it still didn't work and support were unable to help due to: &lt;EM&gt;"As this feature is still in its early stages of development and we currently do not have any documentation surrounding the requirements for the feature we will need to await later releases of the feature from our development team."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I will wait some more months and see what happens.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 09:32:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450602#M7870</guid>
      <dc:creator>JamesT91</dc:creator>
      <dc:date>2024-12-10T09:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Split DNS API</title>
      <link>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450603#M7871</link>
      <description>&lt;P&gt;I suggest post on the EA group that you are interested in this feature and would like to help with testing/feedback if possible.&lt;/P&gt;&lt;P&gt;On other EA calls there has been opportunity to do this.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 13:47:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450603#M7871</guid>
      <dc:creator>sungod</dc:creator>
      <dc:date>2024-12-10T13:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Split DNS API</title>
      <link>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450604#M7872</link>
      <description>&lt;P&gt;To provide an update, after troubleshooting with support they were seeing the first request go to the desired nameserver, but not subsequent subdomain queries. After they checked internally this is apparently intended behaviour and the wildcard examples in the API documentation is just extremely misleading.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 08:34:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/split-dns-api/m-p/5450604#M7872</guid>
      <dc:creator>JamesT91</dc:creator>
      <dc:date>2025-01-06T08:34:52Z</dc:date>
    </item>
  </channel>
</rss>

