Hello....
I'm trying to setup DDNS for NameSilo to update DNS records for my domains and subdomains. I used "github.com/pztop/namesilo_ddns" as a guide to create a little script to make it run at startup, but I seem to stuck on extracting the record_id from the the xml file as there's no xmllint command in OpenWrt's libxml2 package.
So instead of using the xmllint to extract the record_id's (bb74e10cc00faa6b9e99b2cd108e1184 and a1cd001a0d9906f48cce82755e1dbcba) from the xml file, is there any other command I can use to extract the record_id's from the mydomain.xml file into place holders for use in the next operation to update the DNS records with NameSilo? Thanks in advance for any assistance.
<?xml version="1.0"?>
<namesilo><request><operation>dnsListRecords</operation><ip>176.103.133.13</ip></request><reply><code>300</code><detail>success</detail><resource_record><record_id>bb74e10cc00faa6b9e99b2cd108e1184</record_id><type>A</type><host>subdomain</host><value>176.103.133.13</value><ttl>3600</ttl><distance>0</distance></resource_record><resource_record><record_id>a1cd001a0d9906f48cce82755e1dbcba</record_id><type>CNAME</type><host>mydomain</host><value>namesilo</value><ttl>3603</ttl><distance>0</distance></resource_record></reply></namesilo>