-1

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.

closed as off-topic by Ward, kubanczyk, kasperd, Jenny D, yagmoth555 Apr 24 '18 at 1:23

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – kubanczyk, yagmoth555
  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – kasperd, Jenny D
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 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
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.

  • 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

Not the answer you're looking for? Browse other questions tagged or ask your own question.