Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve hostname : Name or service not known #41

Open
dipenpatel235 opened this issue Nov 14, 2019 · 4 comments
Open

Could not resolve hostname : Name or service not known #41

dipenpatel235 opened this issue Nov 14, 2019 · 4 comments

Comments

@dipenpatel235
Copy link

i have done setup. and also update ddclient.
and no any error.

but after that i am ping mine created subdomain that is not ping or ssh.
i have also done port forwarding in my router port 80 and 22.
getting below error.

Could not resolve hostname : Name or service not known
i have setup my ddns server on cloud with static ip with hostname .

@dstapp
Copy link
Owner

dstapp commented Nov 14, 2019

Hey, can you give me some details on how you set this up on your side?

@dipenpatel235
Copy link
Author

dipenpatel235 commented Nov 15, 2019

hello @dprandzioch
here i have attached screenshot of my domain (growth.recipes) on aws route 53.

1

now i am doing ssh on that server growth.recipes and setup your docker ddns server by below command.

docker run -it -d \
>     -p 8080:8080 \
>     -p 53:53 \
>     -p 53:53/udp \
>     -e SHARED_SECRET=changeme \
>     -e ZONE=growth.recipes \
>     -e RECORD_TTL=3600 \
>     --name=mymachine \
>     davd/docker-ddns:latest
Unable to find image 'davd/docker-ddns:latest' locally
Trying to pull repository docker.io/davd/docker-ddns ... 
latest: Pulling from docker.io/davd/docker-ddns
22dbe790f715: Pull complete 
f6ad9d255138: Pull complete 
98d81eb36ba2: Pull complete 
02819c639fe6: Pull complete 
811aa0cfcdb0: Pull complete 
4887ab4e1c4c: Pull complete 
Digest: sha256:9b27b50305f9c2ff51bf39f610f7d4e73570b5297c31a4ba78f4a656b1e92470
Status: Downloaded newer image for docker.io/davd/docker-ddns:latest
4285f5852d99b45fa62c71a61e38bb4aeab38ba424012c33342aea38e23ac239

then i am fireing from browser below url from my linux client machine that in in local network with public ip 219.91.190.91 and attached screenshot

2

http://growth.recipes:8080/update?secret=changeme&domain=mymachine&addr=219.91.190.91

then i have did router in port forwarding 80.

3

then i have setup in my local machine 192.168.1.126 nginx on port 80 and i am trying to open below url from browser http://mymachine.growth.recipes

let me know if anything is wrong.

@dipenpatel235
Copy link
Author

hey @dprandzioch
can u u help me to fix it above issue ?

Thanks

@vamsiduranc
Copy link

vamsiduranc commented Mar 12, 2021

Dear @dprandzioch
hope you are doing good.

I too have same issue.
I have setup docker-ddns container as per instructions and I was able to run API. Below are the images for reference
image

API Result:
image

docker-ddns logs:
image

I have updated domain records as follows:
image
image

But when we try to ping the domain recreated using API, it is not getting resolved
image

Can you please help us in fixing this issue and make our DynDns work... Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants