[GH-ISSUE #256] Adding a domain. #214

Closed
opened 2026-02-26 09:36:36 +03:00 by kerem · 17 comments
Owner

Originally created by @Zaxter on GitHub (Feb 2, 2016).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/256

I have a domain name that I have registered with a domain name registrar. I'm confused how to add this domain to my nsupdate.info domains.

  1. Do I need a hosting provider for this domain or just configuring the DNS in the domain name registrar would suffice?
  2. If a hosting is required, would it be possible to use cPanel based shared hosting?
Originally created by @Zaxter on GitHub (Feb 2, 2016). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/256 I have a domain name that I have registered with a domain name registrar. I'm confused how to add this domain to my nsupdate.info `domains`. 1. Do I need a hosting provider for this domain or just configuring the DNS in the domain name registrar would suffice? 2. If a hosting is required, would it be possible to use cPanel based shared hosting?
kerem closed this issue 2026-02-26 09:36:36 +03:00
Author
Owner

@ThomasWaldmann commented on GitHub (Feb 2, 2016):

you (or your dns provider) need to run a nameserver (e.g. bind) that can be dynamically updated (rfc2136) for your domain.

<!-- gh-comment-id:178558664 --> @ThomasWaldmann commented on GitHub (Feb 2, 2016): you (or your dns provider) need to run a nameserver (e.g. bind) that can be dynamically updated (rfc2136) for your domain.
Author
Owner

@Zaxter commented on GitHub (Feb 3, 2016):

Thanks for replying @ThomasWaldmann . I'm still confused.

Now say I have a mydomainname.com with some domain registrar (like GoDaddy). They give me two name servers (eg. ns1.something.com & ns2.something.com).

I figured to add this domain, I need to get the nameserver's IP and enter that in the domain form. After that I need to add the said configuration in my zone file and the nameserver's named.conf (or elsewhere).

Is this correct? If so, how can I get to my nameserver?

<!-- gh-comment-id:179020331 --> @Zaxter commented on GitHub (Feb 3, 2016): Thanks for replying @ThomasWaldmann . I'm still confused. Now say I have a `mydomainname.com` with some domain registrar (like GoDaddy). They give me two name servers (eg. `ns1.something.com` & `ns2.something.com`). I figured to add this domain, I need to get the nameserver's IP and enter that in the domain form. After that I need to add the said configuration in my zone file and the nameserver's `named.conf` (or elsewhere). Is this correct? If so, how can I get to my nameserver?
Author
Owner

@ThomasWaldmann commented on GitHub (Feb 3, 2016):

Offering dynamic updates to your domains is not quite a thing offered by all dns hosters, some offer just the bare minimum, but not advanced features as that. So you have to check for whether rfc2136 compatible updates are offered by whoever you choose.

If you host your own bind9 for your domain, you can implement that yourself. Our docs and the configuration examples for that should be quite helpful and do most of the job.

<!-- gh-comment-id:179357443 --> @ThomasWaldmann commented on GitHub (Feb 3, 2016): Offering dynamic updates to your domains is not quite a thing offered by all dns hosters, some offer just the bare minimum, but not advanced features as that. So you have to check for whether rfc2136 compatible updates are offered by whoever you choose. If you host your own bind9 for your domain, you can implement that yourself. Our docs and the configuration examples for that should be quite helpful and do most of the job.
Author
Owner

@dmsherazi commented on GitHub (Apr 17, 2016):

@ThomasWaldmann can you please provide ink for the configuration examples of bind9

<!-- gh-comment-id:211052881 --> @dmsherazi commented on GitHub (Apr 17, 2016): @ThomasWaldmann can you please provide ink for the configuration examples of bind9
Author
Owner

@ThomasWaldmann commented on GitHub (Apr 17, 2016):

if you add a new domain to nsupdate.info, it will show you bind9 configuration example on the result page.

<!-- gh-comment-id:211054621 --> @ThomasWaldmann commented on GitHub (Apr 17, 2016): if you add a new domain to nsupdate.info, it will show you bind9 configuration example on the result page.
Author
Owner

@dmsherazi commented on GitHub (Apr 17, 2016):

I am trying to install bind9 on digital ocean following this tutorial https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-ubuntu-14-04

after this I would point Nameservers of my domain smartlink.com to the ip addresses of the bin9 nameservers IP

later I would add domain in nsupdate.info by putting the ip of the bind9 server in nameserver ip and smartlink.com as domain

is this the correct way?

is this correct proceedure?

<!-- gh-comment-id:211066240 --> @dmsherazi commented on GitHub (Apr 17, 2016): I am trying to install bind9 on digital ocean following this tutorial https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-ubuntu-14-04 after this I would point Nameservers of my domain smartlink.com to the ip addresses of the bin9 nameservers IP later I would add domain in nsupdate.info by putting the ip of the bind9 server in nameserver ip and smartlink.com as domain is this the correct way? is this correct proceedure?
Author
Owner

@ThomasWaldmann commented on GitHub (Apr 17, 2016):

you can maybe use some of that howto, but not all. it's not a private network dns, it should support v6 and dynamic updates. so use the sample config we show, if in doubt / if conflicts arise.

<!-- gh-comment-id:211066520 --> @ThomasWaldmann commented on GitHub (Apr 17, 2016): you can maybe use some of that howto, but not all. it's not a private network dns, it should support v6 and dynamic updates. so use the sample config we show, if in doubt / if conflicts arise.
Author
Owner

@dmsherazi commented on GitHub (Apr 17, 2016):

can you give me a link or example how to setup bind 9?

<!-- gh-comment-id:211066602 --> @dmsherazi commented on GitHub (Apr 17, 2016): can you give me a link or example how to setup bind 9?
Author
Owner

@ThomasWaldmann commented on GitHub (Apr 17, 2016):

https://github.com/nsupdate-info/nsupdate.info/issues/256#issuecomment-211054621 that + google + official bind 9 documentation.

<!-- gh-comment-id:211067008 --> @ThomasWaldmann commented on GitHub (Apr 17, 2016): https://github.com/nsupdate-info/nsupdate.info/issues/256#issuecomment-211054621 that + google + official bind 9 documentation.
Author
Owner

@dmsherazi commented on GitHub (Apr 17, 2016):

How to setup the initial zone file? which file would it be in bind9?

<!-- gh-comment-id:211067262 --> @dmsherazi commented on GitHub (Apr 17, 2016): How to setup the initial zone file? which file would it be in bind9?
Author
Owner

@ThomasWaldmann commented on GitHub (Apr 17, 2016):

the initial zone file example is also shown after you add a domain on nsupdate.info.

<!-- gh-comment-id:211069506 --> @ThomasWaldmann commented on GitHub (Apr 17, 2016): the initial zone file example is also shown after you add a domain on nsupdate.info.
Author
Owner

@dmsherazi commented on GitHub (Apr 20, 2016):

@ThomasWaldmann I tried to setup the bind9 nameserver . When I am adding a domain and marking it as available I get this error on

Apr 20 04:45:27 packer-ubuntu-15-10-amd64 named[13612]: client 104.236.203.198#60581/key smartlink.tk: updating zone 'smartlink.tk/IN': adding an RR at 'connectivity-test.smartlink.tk' A
Apr 20 04:45:27 packer-ubuntu-15-10-amd64 kernel: [10990.378382] audit: type=1400 audit(1461141927.656:9): apparmor="DENIED" operation="mknod" profile="/usr/sbin/named" name="/etc/bind/zones/smartlink.tk.jnl" pid=13615 comm="named" requested_mask="c" denied_mask="c" fsuid=108 ouid=108
Apr 20 04:45:27 packer-ubuntu-15-10-amd64 named[13612]: /etc/bind/zones/smartlink.tk.jnl: create: permission denied
Apr 20 04:45:27 packer-ubuntu-15-10-amd64 named[13612]: client 104.236.203.198#60581/key smartlink.tk: updating zone 'smartlink.tk/IN': error: journal open failed: unexpected error

<!-- gh-comment-id:212333735 --> @dmsherazi commented on GitHub (Apr 20, 2016): @ThomasWaldmann I tried to setup the bind9 nameserver . When I am adding a domain and marking it as available I get this error on ``` Apr 20 04:45:27 packer-ubuntu-15-10-amd64 named[13612]: client 104.236.203.198#60581/key smartlink.tk: updating zone 'smartlink.tk/IN': adding an RR at 'connectivity-test.smartlink.tk' A Apr 20 04:45:27 packer-ubuntu-15-10-amd64 kernel: [10990.378382] audit: type=1400 audit(1461141927.656:9): apparmor="DENIED" operation="mknod" profile="/usr/sbin/named" name="/etc/bind/zones/smartlink.tk.jnl" pid=13615 comm="named" requested_mask="c" denied_mask="c" fsuid=108 ouid=108 Apr 20 04:45:27 packer-ubuntu-15-10-amd64 named[13612]: /etc/bind/zones/smartlink.tk.jnl: create: permission denied Apr 20 04:45:27 packer-ubuntu-15-10-amd64 named[13612]: client 104.236.203.198#60581/key smartlink.tk: updating zone 'smartlink.tk/IN': error: journal open failed: unexpected error ```
Author
Owner

@ThomasWaldmann commented on GitHub (Apr 20, 2016):

"Permission denied" plus a filename should be pretty clear.

<!-- gh-comment-id:212490501 --> @ThomasWaldmann commented on GitHub (Apr 20, 2016): "Permission denied" plus a filename should be pretty clear.
Author
Owner

@finite9 commented on GitHub (Apr 29, 2016):

Im in the same position (I think) and I read this thread but still dont get it. Can you explain in layman terms?

Ive got ddns working fine with an nsupdate.info address. I just bought my own .net domain from Namecheap. They offer ddns as well, but I want to continue using nsupdate. Namecheap also supports ddclient and they have a hash password thing. Forgetting the details for a minute, can I do the following: Update my Namecheap domain with my current IP address from nsupdate's service by entering my domain details on nsupdate.info? Im not even sure that what I want to do is possible?

Secondly, if this is possible... do I just enter my domain name and the ip of Namecheaps DNS for the above to work, assuming that they do support rfc2136?

I don't have my own bind9 server and don't want one.

<!-- gh-comment-id:215728951 --> @finite9 commented on GitHub (Apr 29, 2016): Im in the same position (I think) and I read this thread but still dont get it. Can you explain in layman terms? Ive got ddns working fine with an nsupdate.info address. I just bought my own .net domain from Namecheap. They offer ddns as well, but I want to continue using nsupdate. Namecheap also supports ddclient and they have a hash password thing. Forgetting the details for a minute, can I do the following: Update my Namecheap domain with my current IP address from nsupdate's service by entering my domain details on nsupdate.info? Im not even sure that what I want to do is possible? Secondly, if this _is_ possible... do I just enter my domain name and the ip of Namecheaps DNS for the above to work, assuming that they do support rfc2136? I don't have my own bind9 server and don't want one.
Author
Owner

@ThomasWaldmann commented on GitHub (Apr 29, 2016):

You should know / find out if they support rfc2136 or not (if unsure, assume they do not).

If they don't support rfc2136 (dynamic updates, this is something different than dyndns updates), nsupdate.info can not update them (as it does for e.g. the nsupdate.info DNS server).

<!-- gh-comment-id:215743692 --> @ThomasWaldmann commented on GitHub (Apr 29, 2016): You should know / find out if they support rfc2136 or not (if unsure, assume they do not). If they don't support rfc2136 (dynamic updates, this is something different than dyndns updates), nsupdate.info can not update them (as it does for e.g. the nsupdate.info DNS server).
Author
Owner

@dmsherazi commented on GitHub (Apr 30, 2016):

@finite9 I had a namecheap domain and I tried the same , but it failed. Finally I had to host my own bin9 server which I did on the same server where I installed nsupdate.info.

<!-- gh-comment-id:215944915 --> @dmsherazi commented on GitHub (Apr 30, 2016): @finite9 I had a namecheap domain and I tried the same , but it failed. Finally I had to host my own bin9 server which I did on the same server where I installed nsupdate.info.
Author
Owner

@ThomasWaldmann commented on GitHub (Aug 13, 2016):

Closing this, IIRC the docs point out the requirements clear enough and also we show ready-to-use configs for bind9.

<!-- gh-comment-id:239633932 --> @ThomasWaldmann commented on GitHub (Aug 13, 2016): Closing this, IIRC the docs point out the requirements clear enough and also we show ready-to-use configs for bind9.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#214
No description provided.