• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Parse XML as a result in custom dynamic dns?

Scheduled Pinned Locked Moved DHCP and DNS
1 Posts 1 Posters 475 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    ttrepper
    last edited by Apr 9, 2014, 7:52 AM

    Hi all,

    I am using zonomi (https://zonomi.com/app/dns/dyndns.jsp) and it returns xml as a result

    
    ]>
     <dnsapi_result><is_ok>OK:</is_ok>
      <result_counts <br="">added="0"
       changed="0"
       unchanged="1"
       deleted="0"/>
    
     <actions><action <br="">action="SET"
     host="mx0.mydomain.com"
     type="A"
     value="168.122.123.109">
     <record <br="">name="mx0.mydomain.com"
     type="A"
     content="168.122.123.109"
     ttl="3600 seconds"
     prio="0"
     skipped="unchanged"/></record></action></actions></result_counts></dnsapi_result> 
    
    

    Does anybody know how to parse this in the result?

    Thanks a lot in advance,

    Thomas

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received