helpright.blogg.se

Opendns updater ip address blank
Opendns updater ip address blank












opendns updater ip address blank

"updated DNS: $DOMAIN") echo "$MYNAME: mailinabox API updated $DYNDNSNAME OK." "OK") echo "$MYNAME: mailinabox API returned OK, cmd succeded but no update." STATUS="`$CURLCMD -X PUT -K $CFGFILE -s -d $MYIP case $STATUS in Check $MIABHOST DNS server."Įcho "$MYNAME: $DYNDNSNAME hasn't changed."Įcho "$MYNAME: $DYNDNSNAME changed (previously: $PREVIP, now: $MYIP)" PREVIP="`$DIGCMD +short $DYNDNSNAME thenĮcho "$MYNAME: dig output was blank. Check services."įor DYNDNSNAME in `$CATCMD $DYNDNSNAMELIST` MYIP="`$DIGCMD +short thenĮcho "$MYNAME: dig output was blank. Check and fix please."Įcho "$MYNAME: $DYNDNSNAMELIST not found. Check and fix please."Įcho "$MYNAME: $CFGFILE not found. Check and fix please."Įcho "$MYNAME: cat command $CATCMD not found. Check and fix please."Įcho "$MYNAME: curl command $CURLCMD not found. MYNAME="dm-dyndns"Įcho "$MYNAME: dig command $DIGCMD not found. # DYNDNSNAMELIST file contains one hostname per line that needs to be set to this IP. # one line file of the format (curl cfg file): # Mailinabox admin username/password in the CFGFILE below # dm-dyndns v1.0, Shell script to provide dynamic DNS to a mail-in-the-box platform. Hope this is useful for someone – it is for me!

#Opendns updater ip address blank update#

So I run the attached shell script via cron on my pfSense gateway, and it will update the and entries on the MIAB whenever my IP address changes. So, I wrote a shell script that runs on my pfSense gateway at home, which updates the subdomain records on the MIAB.īox. (my MIAB) / IP address 1.2.3.4 hosts:īut I want and to point to 5.6.7.8 (which is my home, dynamic IP). Long story short - MIAB hosts one of my domains for email & web, but I wanted to have a subdomain I could use to access my VPN & NAS servers at home. Hi folks - using MIAB to host my personal domains and absolutely love it! One thing I needed a little help with was some dynamic DNS capabilities…














Opendns updater ip address blank