Search Results

Search: Posts Made By: CRChamberlain
18,075
Posted By CRChamberlain
Without forcing an IP address change to test the...
Without forcing an IP address change to test the code, it does appear to be correct, and if it fails then Namecheap need to check it out.

Many thanks for your help.
18,075
Posted By CRChamberlain
Using wget -o /tmp/my_log_file...
Using wget -o /tmp/my_log_file ...produces--2014-07-05 06:59:52-- https://dynamicdns.park-your-domain.com/update?host=@&domain=mysite.com&password=9736b76370874a8797bc7426f66b8165
Resolving...
18,075
Posted By CRChamberlain
rbatte1 Thanks for your reply. Without...
rbatte1

Thanks for your reply.

Without '-O'--2014-07-04 16:34:25-- https://dynamicdns.park-your-domain.com/update?host=www&domain=mysite.com&password=9736b76370874a8797bc7426f66b8165...
18,075
Posted By CRChamberlain
Wget ouput to log file
Hi all

The following code will update the Dynamic DNS server at Namecheap.com.
wget -O 'https://dynamicdns.park-your-domain.com/update?host=www&domain=example.com&password=your DDNS...
1,054
Posted By CRChamberlain
Aia Had spotted that, but thanks. ...
Aia

Had spotted that, but thanks.

...and thanks for your solutions.
1,054
Posted By CRChamberlain
So the code block might look likeif [[ -z...
So the code block might look likeif [[ -z "${ipold}" ]]; then
# Code
# Code
fiperhaps?
1,054
Posted By CRChamberlain
Aia Thanks for your reply Did not...
Aia

Thanks for your reply

Did not realise there would not be a need for an if..fi statement

Was planning to 'echo' the reason for exiting to a file and email the file to the administrator by...
1,054
Posted By CRChamberlain
IF [ condition ] help
Hi all

Unix newbie - please be gentle

Am modifying an existing script to error trap a variable with a length of 0
#!/bin/bash

ipfile='/var/data/bin/ipaddress'

[[ -f "$ipfile" ]] &&...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 09:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy