New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Dynamic DNS Client


Post Reply New Thread Subscribe

 
Thread Tools
antwonw

 
Member Since: Nov 11, 2008
Posts: 9
antwonw is on a distinguished road

antwonw is offline
Does anyone know of a dynamic DNS client that works with Namecheap.com?

Thanks!
QUOTE Thanks
IvanLasston

 
IvanLasston's Avatar
 
Member Since: Feb 26, 2010
Location: Rocky Mountain High, Colorado
Posts: 2,116
IvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to behold
Mac Specs: 1.8 GHz i7 MBA 11" OSX 10.8.2

IvanLasston is offline
ddclient should work
How to configure DDClient? (Dynamic DNS)
ddclient is available through macports
QUOTE Thanks
antwonw

 
Member Since: Nov 11, 2008
Posts: 9
antwonw is on a distinguished road

antwonw is offline
Haha, thanks for the quick reply.

I already had installed this and have been trying it. I didn't get it from MacPorts. Instead I got it directly from https://sourceforge.net/apps/trac/ddclient and followed the configuration steps on there.

I had tried this as my config file before:
## NameCheap (namecheap.com)
##
daemon=300
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=ABC (username I login with at namecheap.com)
password=XYZ (the password that the Namecheap.com Dynamic DNS gave me)
news.adashw.com

I didn't see that (How to configure DDClient? (Dynamic DNS)) link before. So this is what I have now in my config file:
## NameCheap (namecheap.com)
##
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=adashw.com
password=XYZ (the password that the Namecheap.com Dynamic DNS gave me)
news

However it's still not working.
QUOTE Thanks
IvanLasston

 
IvanLasston's Avatar
 
Member Since: Feb 26, 2010
Location: Rocky Mountain High, Colorado
Posts: 2,116
IvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to behold
Mac Specs: 1.8 GHz i7 MBA 11" OSX 10.8.2

IvanLasston is offline
You are going to have to define not working.

Do you know if the DNS updated to your dynamic IP?

What isn't working? Are you trying to serve a webpage or a service? Did you port forward the proper ports to the proper server?
QUOTE Thanks
antwonw

 
Member Since: Nov 11, 2008
Posts: 9
antwonw is on a distinguished road

antwonw is offline
Quote:
Originally Posted by IvanLasston View Post
You are going to have to define not working.

Do you know if the DNS updated to your dynamic IP?

What isn't working? Are you trying to serve a webpage or a service? Did you port forward the proper ports to the proper server?
Alright,

I re-run the ddclient in terminal with the updated config file. I then wait for it to update my ip on the Namecheap server. It should update my sub-domain's IP in my Namecheap All Host Records. Take a look at this demo video by Namecheap.com: Demo: Setting up DynamicDNS

In my All Host Records, it's still showing 127.0.0.1, my localhost. It's not updating to my web ip.

I am trying to serve my mac mini which I am running a http (port 8080), smb (445), afp (548), and vnc (5900).

I am behind a network for which I have no access to manipulate the port forwarding. The gateway/router, however, does allow for access for such access; but only if it's called upon at a frequent interval (say every 30 seconds compared to 15 minutes).
QUOTE Thanks
IvanLasston

 
IvanLasston's Avatar
 
Member Since: Feb 26, 2010
Location: Rocky Mountain High, Colorado
Posts: 2,116
IvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to behold
Mac Specs: 1.8 GHz i7 MBA 11" OSX 10.8.2

IvanLasston is offline
If you cannot control the port forwarding your efforts will be for naught. I am not sure what you mean by it allows access for such access - with frequent intervals. I don't know every gateway/router out there but most require you to specifically say which computer gets which port. I've not seen this on demand port forward with consumer routers - and I'd be surprised if a enterprise router would allow it.

After configuring ddclient did you start the daemon?
ddclient
Quote:
You can run ddclient as "/usr/sbin/ddclient -daemon 300 -syslog" and put it in your startup scripts. There are samples of startup scripts provided with ddclient.
There is some debug info on that page - did you try that?
QUOTE Thanks
antwonw

 
Member Since: Nov 11, 2008
Posts: 9
antwonw is on a distinguished road

antwonw is offline
Quote:
Originally Posted by IvanLasston View Post
If you cannot control the port forwarding your efforts will be for naught. I am not sure what you mean by it allows access for such access - with frequent intervals. I don't know every gateway/router out there but most require you to specifically say which computer gets which port. I've not seen this on demand port forward with consumer routers - and I'd be surprised if a enterprise router would allow it.
I don't know how or why, but my university's routers/gateways allow for it but it must called upon a fairly frequent interval otherwise it will be lost to nothing/another computer requesting that IP. In some bizarre way, it works.

I was also able to, somewhat, get ddclient to work with Namecheap.com. It's weird and not completely doing what it should but it's good enough for now until I can figure out what's going on.

Basically, I had to go to my Namecheap.com All Host Records and manually enter in my web IP for my computer behind the network. It worked, but if my web IP were to change...I'm not sure if I'd have to go in to my All Hosts Records and manually enter it again or if the ddclient will automatically do that for me. I still haven't tested that out yet.
QUOTE Thanks
IvanLasston

 
IvanLasston's Avatar
 
Member Since: Feb 26, 2010
Location: Rocky Mountain High, Colorado
Posts: 2,116
IvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to behold
Mac Specs: 1.8 GHz i7 MBA 11" OSX 10.8.2

IvanLasston is offline
That works but it isn't dynamic dns. That is just putting in the current IP. I've gotten ddclient to work with namecheap but I have full control of my router. You probably need to ask your university IT what all it would take to get this to work.
QUOTE Thanks
antwonw

 
Member Since: Nov 11, 2008
Posts: 9
antwonw is on a distinguished road

antwonw is offline
Quote:
Originally Posted by IvanLasston View Post
That works but it isn't dynamic dns. That is just putting in the current IP.
Correect.

Quote:
Originally Posted by IvanLasston View Post
I've gotten ddclient to work with namecheap but I have full control of my router.
Can you post your process and your ddclient.config file (minus your secret password of course)?
QUOTE Thanks
IvanLasston

 
IvanLasston's Avatar
 
Member Since: Feb 26, 2010
Location: Rocky Mountain High, Colorado
Posts: 2,116
IvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to beholdIvanLasston is a splendid one to behold
Mac Specs: 1.8 GHz i7 MBA 11" OSX 10.8.2

IvanLasston is offline
From the very beginning
Install Macports
The MacPorts Project -- Home
Code:
sudo port install ddclient
Code:
sudo vi /opt/local/etc/ddclient/ddclient.conf
The above code will open a vi editor with a new file

Put this code in it modifying it accordingly
Code:
daemon=300
syslog=yes
mail=root
mail-failure=root
cache=/tmp/ddclient.cache
ssl=yes
pid=/opt/local/var/run/ddclient.pid #This is where macports runs ddclient
use=web, web=checkip.dyndns.com/, web-skip='IP Address' #this is probably the key piece that wasn't in the info before
protocol=namecheap
server=dynamicdns.park-your-domain.com
login=<your domain registered at namecheap>
password=<the password that namecheap gives you>
mycomputer #This is from your video example but I did it just to double check
I did find that a post saying that ssl=yes didn't work for them - but I kept it in my setup and it updated.

You should be able to see in /var/log/syslog a SUCCESS updating mycomputer - the code below in a terminal will show you system.log as it updates
Code:
tail -F /var/log/system.log &
start ddclient
Code:
sudo port load ddclient
Your video that you posted for setting up namecheap is how I setup the namecheap stuff - exactly. The only part that deviates is the client.

I know port forwarding works as I use it with a free dns server. I didn't set that up for this - and as I said If it works for you great - but I would be surprised if it did.
QUOTE Thanks
antwonw

 
Member Since: Nov 11, 2008
Posts: 9
antwonw is on a distinguished road

antwonw is offline
Quote:
Originally Posted by IvanLasston View Post
I did find that a post saying that ssl=yes didn't work for them - but I kept it in my setup and it updated.
It worked!! Thanks Ivan!!
QUOTE Thanks

Post Reply New Thread Subscribe


« Mail sending msgs I never sent | Freeware for searching or indexing removable media? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
MBA Snow Leopard DNS Issues chillconsulting Internet, Networking, and Wireless 5 04-08-2010 09:35 AM
DNS problem in OSX Server 10.6 charlieatlantic OS X - Operating System 2 10-07-2009 03:57 PM
DNS Issues - Open DNS works with Facebook - ISP DNS does not David A OS X - Operating System 3 09-16-2009 03:12 PM
Internet Connection Slow - Leopard DNS/Airport issue dfaria Internet, Networking, and Wireless 23 01-23-2009 07:27 PM
Looooong startup! JoelD Apple Desktops 6 01-21-2005 12:14 PM

All times are GMT -4. The time now is 03:53 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?