Jump to content
linuxserver.io

[Support] Linuxserver.io - DuckDNS

91 posts in this topic Last Reply

Recommended Posts

linuxserver_medium.png

 

Application Name: DuckDNS

Application Site: https://www.duckdns.org/

Docker Hub: https://hub.docker.com/r/linuxserver/duckdns/

Github: https://github.com/linuxserver/docker-duckdns/

 

Please post any questions/issues relating to this docker you have in this thread.

 

If you are not using Unraid (and you should be!) then please do not post here, instead head to linuxserver.io to see how to get support.

Edited by linuxserver.io

Share this post


Link to post

How do you port forward a docker to use DuckDNS?

I already have a sub-domain and have DuckDNS running just not sure how to port forward a docker.

Share this post


Link to post

How do you port forward a docker to use DuckDNS?

I already have a sub-domain and have DuckDNS running just not sure how to port forward a docker.

The same as anything else, in your router.

Share this post


Link to post

Doesn't seem to be updating for me...

 

Signed in to duckdns, created a subdomain and got my token. Installed the docker and filled in SUBDOMAINS and TOKEN. Worked fine initially, but my IP address didn't update - I've ?ust done it manually at duckdns. Am I missing something?

Share this post


Link to post

for the subdomain do i need to enter just the first part or the whole ####.duckdns.org?

Also is there a way to make sure it works and will update your ip?

Share this post


Link to post

I would like to lower the Interval between Updates.

How can i do this?

It is hardcoded at 5 minutes, which is the recommended interval by duckdns

Share this post


Link to post

for the subdomain do i need to enter just the first part or the whole ####.duckdns.org?

Also is there a way to make sure it works and will update your ip?

Just the subdomain. Check the log afterwards

Share this post


Link to post

Where does the docker get the IP from?  I'm having an issue where it is grabbing the IP used by my VPN service (PIA) that i connect with my transmission-openvpn docker to.

If I stop the transmission-openvpn docker the duckdns docker updates the duckdns.org service with my outward facing IP.

 

Any thoughts how I can run the duckdns docker to update with my IP (not the PIA ip)?  I've tried running it as a host and bridge network type.

Share this post


Link to post

 

 

Where does the docker get the IP from?  I'm having an issue where it is grabbing the IP used by my VPN service (PIA) that i connect with my transmission-openvpn docker to.

If I stop the transmission-openvpn docker the duckdns docker updates the duckdns.org service with my outward facing IP.

 

Any thoughts how I can run the duckdns docker to update with my IP (not the PIA ip)?  I've tried running it as a host and bridge network type.

 

Container issues a simple http request to duckdns servers. The servers see the originating ip and set that for the ddns.

 

It sounds like your duckdns container is also tunneled through the vpn

Share this post


Link to post

It sounds like your duckdns container is also tunneled through the vpn

 

I agree it does appear that way. Not sure how that is happening... I thought dockers were separated.

Share this post


Link to post

It sounds like your duckdns container is also tunneled through the vpn

 

I agree it does appear that way. Not sure how that is happening... I thought dockers were separated.

 

They are.  You sure you not got something going on at the router level?  Or any other openvpn plugin?

Share this post


Link to post

It sounds like your duckdns container is also tunneled through the vpn

 

I agree it does appear that way. Not sure how that is happening... I thought dockers were separated.

 

They are.  You sure you not got something going on at the router level?  Or any other openvpn plugin?

 

Spent some time this morning confirming I don't have anything else connecting to OpenVPN in the network. 

If I stop the transmission-openvpn docker then duckdns updates the correct external IP.

 

Setting the duckdns docker to Host and Privileged does nothing.

 

This is very confusing to me.

Share this post


Link to post

It sounds like your duckdns container is also tunneled through the vpn

 

I agree it does appear that way. Not sure how that is happening... I thought dockers were separated.

 

They are.  You sure you not got something going on at the router level?  Or any other openvpn plugin?

 

Spent some time this morning confirming I don't have anything else connecting to OpenVPN in the network. 

If I stop the transmission-openvpn docker then duckdns updates the correct external IP.

 

Setting the duckdns docker to Host and Privileged does nothing.

 

This is very confusing to me.

Host mode won't do anything. That's only for incoming connections.

 

You can exec into the container and do traceroute to confirm but it's most definitely an issue with openvpn. Nothing we can do in the duckdns side

Share this post


Link to post

It sounds like your duckdns container is also tunneled through the vpn

 

I agree it does appear that way. Not sure how that is happening... I thought dockers were separated.

 

They are.  You sure you not got something going on at the router level?  Or any other openvpn plugin?

 

Spent some time this morning confirming I don't have anything else connecting to OpenVPN in the network. 

If I stop the transmission-openvpn docker then duckdns updates the correct external IP.

 

Setting the duckdns docker to Host and Privileged does nothing.

 

This is very confusing to me.

Host mode won't do anything. That's only for incoming connections.

 

You can exec into the container and do traceroute to confirm but it's most definitely an issue with openvpn. Nothing we can do in the duckdns side

 

Thanks a lot for looking into it and responding.  I'll have to do some more digging. 

I'll look into what you suggested with the traceroute.

Share this post


Link to post

I'm stumped trying to set this up.  I'm going through the apps and selecting DuckDNS.  I get to the add container page and I'm not sure what to do.  Do I need to select a template?  I'm not seeing anything in my list that looks like DuckDNS.  Also I'm not sure what to put in the volume mappings, I tried a few things like /DuckDNS.

 

When I click on the create button nothing happens.  I don't get an error message, I don't get a waiting on server message, just nothing happens.  What am I doing wrong?

 

Thanks,

Jerry

Share this post


Link to post

You will only have a template to select if you have added a repository (don't bother) or if you already had a template for a specific docker.

 

A template is just the stored settings for the Add container page.

 

But you don't need to select a template. When you selected the "App" from Community Applications, it took you to the Add container with the page already filled out. The only thing you would typically need to do is set one or more volume mappings for the particular application to let it find your files.

 

In this specific case, I don't think it needs access to anything except the appdata (config), which should already be set.

Share this post


Link to post

Post a screenshot of what setup you've got so we can see how you've filled in the template.

Share this post


Link to post

Here is my screen shot.  The only thing I did was click on the container volume box and select /config and clicked on the host path box and selected my cache drive and added duckdns to the path.

 

DuckDNS.png.89760bd1e433817378faa5e2c02a5943.png

Share this post


Link to post

Here is my screen shot.  The only thing I did was click on the container volume box and select /config and clicked on the host path box and selected my cache drive and added duckdns to the path.

 

What version of Unraid are you on?

 

Filled in the subdomain and token info?

Share this post


Link to post

Duckdns does not have/need a config folder.

 

It also doesn't need to be in host mode. Leave it as bridge.

 

Just fill in the subdomain and token info.

Share this post


Link to post

I'm running version 6.1.2.

 

There isn't anyplace to fill in the subdomain and token info.

 

Upgrade Unraid.  Docker has been updated a lot since then.  And versions prior to V6.3 have some pretty significant security flaws that have been fixed.

Share this post


Link to post

I'm running version 6.1.2.

 

There isn't anyplace to fill in the subdomain and token info.

 

 

there's a button marked advanced, how about clicking that ?

 

the fields you need to enter information into will be revealed.

 

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.