I'm using a DDNS service provider for my domain. Because my server is behind a router that changes IP.
I have just figure out that I can have a dns server (like BIND) inside my local server and, from what I read, (I need to have wildcard dns) I just have to submit this BIND NS record to the domain registar.
I would like to know if submiting my NS to the domain registar would work, even if my dns server (BIND for example) is behind a router that changes ip address from time to time.
Asked
Active
Viewed 561 times
-1

alexandre1985
- 225
- 1
- 2
- 9
-
Rent a VPS, host it on a VPS, or use a registrar that will act as a secondary to a server you run. – Zoredache Apr 20 '18 at 18:28
1 Answers
2
It's technically possible but not recommended. The main problem is that when the IP address changes it's unexpected, while it needs immediate actions. TTL for glue records is fixed and can't be lowered, while dynamic DNS records works because of extremely low TTL. Therefore, the NS
pointing to DDNS hostname MUST be on a separate domain.
Another problem is that complying to IANA Technical requirements for authoritative name servers is impossible with a single server; minimum number of name servers and network diversity.

Esa Jokinen
- 46,944
- 3
- 83
- 129
-
You mean that if my domain is example.com, I can't put in my domain registrar ns1.example.com? I need to use a different domain? – alexandre1985 Apr 20 '18 at 20:14
-
Yes, because that would be a *glue record*, and there's no DDNS for them. – Esa Jokinen Apr 20 '18 at 20:21