Jump to content

Getting Domain to Point at DDNS Server

Go to solution Solved by tarfeef101,
On 3/16/2018 at 7:55 PM, RixzZ said:

- Snip -

Got it to work by forwarding a subdomain to the ddns address instead! ssh.domain.example is more than alright with me. Thanks for the help!!

So... The second post I made looking for help today... I feel wrong. This isn't how I'm supposed to work. I'm supposed to fix other people's problems!!!

Anyways, here's what's going on:

I have a server which I want to use for development, mainly. So I want ssh access to it from anywhere. I also may spin up a website on it, and some other tools on various ports. Setting that up on the server isn't hard. set those ports to listen, start the services, whatever. So i have done that, (at least for sshd)

I set up a dynamic dns service for my router. I have had an account for a long time with noip, but my router integrates with dlinkddns, so i set that up so i don't have to run a program to update the dns provider at all when my IP changes. I have an address from them, and set that up in my router. I also forwarded the ports I need for the reserved IP of my server. I can ssh into that server from anywhere using the ddns as the hostname. So this works.

The issue comes when I try to use my own domain that I purchased to do the same thing. I purchased a domain from squarespace (cause I wanted to give a certain content creator a little kickback or at least partner satisfaction), and I plan to use that domain as the domain to access my server.

Now, I have tried a bunch of configuration options on there... but nothing has worked frankly. If someone is willing to help, i'll be glad to share what i've tried so far (to the best extent my memory will allow), but if anyone simply knows how to do this and can tell me, I would be the giddiest of posters :)

Thanks, pre-emptively!

Main Rig: R9 5950X @ PBO, RTX 3090, 64 GB DDR4 3666, InWin 101, Full Hardline Watercooling

Server: R7 1700X @ 4.0 GHz, GTX 1080 Ti, 32GB DDR4 3000, Cooler Master NR200P, Full Soft Watercooling

LAN Rig: R5 3600X @ PBO, RTX 2070, 32 GB DDR4 3200, Dan Case A4-SFV V4, 120mm AIO for the CPU

HTPC: i7-7700K @ 4.6 GHz, GTX 1050 Ti, 16 GB DDR4 3200, AliExpress K39, IS-47K Cooler

Router: R3 2200G @ stock, 4GB DDR4 2400, what are cases, stock cooler
 

I don't have a problem...

Link to comment
Share on other sites

Link to post
Share on other sites

Since you can't point a bare domain using a CNAME to the DDNS record you already have, the only thing that occurs to me is to use a DDNS provider as DNS service for your whole domain.

 

You could use Cloudflare, even they aren't a DDNS provider per-se, you can use their API to do so. Point your domain Nameservers to them (you have to create an account). Then after you make a DNS zone with your current dynamic IP, you can use ddclient (or any other ddns client) to update those records on the whole zone everytime your IP changes.

 

I propose Cloudflare + ddclient, because both integrate well using the Cloudflare API, but any other providers would work.

 

PD: If you are going to do this or something similar using a dynamic IP, you should set the TTL to a low value to prevent problems with dns caching.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Thanks. I'm trying one last, desperate attempt to muck around with the settings. 

 

So is that CloudFlare service free? Also, if you can use any ddns, I'll probably stick with D-Link just because my router handles updating the IP automatically without me having to rely on a PC to do it. 

Main Rig: R9 5950X @ PBO, RTX 3090, 64 GB DDR4 3666, InWin 101, Full Hardline Watercooling

Server: R7 1700X @ 4.0 GHz, GTX 1080 Ti, 32GB DDR4 3000, Cooler Master NR200P, Full Soft Watercooling

LAN Rig: R5 3600X @ PBO, RTX 2070, 32 GB DDR4 3200, Dan Case A4-SFV V4, 120mm AIO for the CPU

HTPC: i7-7700K @ 4.6 GHz, GTX 1050 Ti, 16 GB DDR4 3200, AliExpress K39, IS-47K Cooler

Router: R3 2200G @ stock, 4GB DDR4 2400, what are cases, stock cooler
 

I don't have a problem...

Link to comment
Share on other sites

Link to post
Share on other sites

On 3/16/2018 at 7:55 PM, RixzZ said:

- Snip -

Got it to work by forwarding a subdomain to the ddns address instead! ssh.domain.example is more than alright with me. Thanks for the help!!

Main Rig: R9 5950X @ PBO, RTX 3090, 64 GB DDR4 3666, InWin 101, Full Hardline Watercooling

Server: R7 1700X @ 4.0 GHz, GTX 1080 Ti, 32GB DDR4 3000, Cooler Master NR200P, Full Soft Watercooling

LAN Rig: R5 3600X @ PBO, RTX 2070, 32 GB DDR4 3200, Dan Case A4-SFV V4, 120mm AIO for the CPU

HTPC: i7-7700K @ 4.6 GHz, GTX 1050 Ti, 16 GB DDR4 3200, AliExpress K39, IS-47K Cooler

Router: R3 2200G @ stock, 4GB DDR4 2400, what are cases, stock cooler
 

I don't have a problem...

Link to comment
Share on other sites

Link to post
Share on other sites

Yeah, you can point any subdomain to the DDNS you already have using a CNAME. The only record you can't point is the bare domain, because it needs an A record.

 

For the solution I proposed, you had to use a DNS zone provider with DDNS support.

Edited by RixzZ
Fix typo

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, RixzZ said:

Yeah, you can point any subdomain to the DDNS you already have using a CNAME. The only record you can't point is the bare domain, becuase it needs an A record.

 

For the solution I proposed, you had to use a DNS zone provider with DDNS support.

Yeah, so if I ever implement a proper site on this box I'll have to do that, but I don't think I will for a while. For now it's still mostly just for dev work, so I can make custom domains for each application I have for it, not an issue. Thanks for the help though, I may end up doing that in the future when I bother setting a site up. 

Main Rig: R9 5950X @ PBO, RTX 3090, 64 GB DDR4 3666, InWin 101, Full Hardline Watercooling

Server: R7 1700X @ 4.0 GHz, GTX 1080 Ti, 32GB DDR4 3000, Cooler Master NR200P, Full Soft Watercooling

LAN Rig: R5 3600X @ PBO, RTX 2070, 32 GB DDR4 3200, Dan Case A4-SFV V4, 120mm AIO for the CPU

HTPC: i7-7700K @ 4.6 GHz, GTX 1050 Ti, 16 GB DDR4 3200, AliExpress K39, IS-47K Cooler

Router: R3 2200G @ stock, 4GB DDR4 2400, what are cases, stock cooler
 

I don't have a problem...

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×