tsohr
2012-07-07
dnsever script
#!/bin/sh
DATE
=
`date
'
+%y-%m-%d %H:%M:%S
'
`
RESULT
=
`wget -q -O - --http-
user
=
YOUR_ID --http-
passwd
=
YOUR_AUTH_CODE \
'
http://dyna.dnsever.com/update.php?host[YOUR_DOMAIN_NAME]
'
\
|
xmllint --xpath
'
//host
'
- `
echo
$DATE
$RESULT
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment