Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

I want to set my own DDNS service

378 views
Skip to first unread message

alike

unread,
Dec 16, 2011, 5:26:47 AM12/16/11
to
Hi.

Now after dyndns has start to charge the service i was thinking to set
my own server ( for my own users ( 20 of them )).

I have static IP adress and one linux box with 10.10 ubuntu.
What do i need to make this working ?

Bind9 or something else ?
So, the idea is to make something like dyndns service but for few costumers.

David Brown

unread,
Dec 16, 2011, 7:28:49 AM12/16/11
to
What are you actually trying to do? Dyndns has a whole range of
services, so you have to be more precise about what you are trying to
replace.

Bind is powerful - but far from easy to learn and configure.

Look at dnsmasq - if it does the job you need, it is far lighter and
easier to configure.

alike

unread,
Dec 16, 2011, 8:37:51 AM12/16/11
to
i have some users that are using dyndns service for remote camera
viewing. Now they have to pay this service so i was thinking that i can
create some alternative solution that can be free of charge.
So i was thinking to make some linux box with some ddns service...

J G Miller

unread,
Dec 16, 2011, 10:47:16 AM12/16/11
to
On Friday, December 16th, 2011, at 14:37:51h +0100, Alike wrote:

> i have some users that are using dyndns service for remote camera
> viewing.

And if they are using the DynDNS server via their hardware router,
that and perhaps another commercial rival will all they will be
able to use, because hardware routers only have these two services
hardwired into their firmware.

> Now they have to pay this service so i was thinking that i can
> create some alternative solution that can be free of charge.

Yes that is possible, but do you have a static IP, otherwise there
will be a cat and mouse chase?



Deux

unread,
Dec 16, 2011, 5:11:49 PM12/16/11
to
On Fri, 16 Dec 2011 11:26:47 +0100, alike wrote:

> Now after dyndns has start to charge the service

no-ip.com is still free.

Grant Edwards

unread,
Dec 17, 2011, 3:00:52 PM12/17/11
to
On 2011-12-16, alike <al...@net.hr> wrote:

> Now after dyndns has start to charge the service

Wha? I've been using dyndns for ages, and it's still free AFAIK. [I'm
not paying them anything.] There was a recent shuffle of which domains
were avaible for non-paying customers, but I wasn't aware that they've
stopped offereing a free service.

> i was thinking to set
> my own server ( for my own users ( 20 of them )).
>
> I have static IP adress and one linux box with 10.10 ubuntu.
> What do i need to make this working ?

First, you need a domain. And you will generally need a primary and a
backup domain server.

--
Grant Edwards grant.b.edwards Yow! RHAPSODY in Glue!
at
gmail.com

alike

unread,
Dec 18, 2011, 4:48:42 AM12/18/11
to
On 12/17/2011 09:00 PM, Grant Edwards wrote:
> On 2011-12-16, alike<al...@net.hr> wrote:
>
>> Now after dyndns has start to charge the service
>
> Wha? I've been using dyndns for ages, and it's still free AFAIK. [I'm
> not paying them anything.] There was a recent shuffle of which domains
> were avaible for non-paying customers, but I wasn't aware that they've
> stopped offereing a free service.
>
>> i was thinking to set
>> my own server ( for my own users ( 20 of them )).
>>
>> I have static IP adress and one linux box with 10.10 ubuntu.
>> What do i need to make this working ?
>
> First, you need a domain. And you will generally need a primary and a
> backup domain server.
>
I have two domains and for now i can set just primary dns server.
btw. "primary dn server" is just linux box with standard installation.
I didn't set any other programs accept standard installation.

What's next step ?

Jorgen Grahn

unread,
Dec 18, 2011, 11:48:30 AM12/18/11
to
On Fri, 2011-12-16, J G Miller wrote:
> On Friday, December 16th, 2011, at 14:37:51h +0100, Alike wrote:
>
>> i have some users that are using dyndns service for remote camera
>> viewing.
>
> And if they are using the DynDNS server via their hardware router,
> that and perhaps another commercial rival will all they will be
> able to use, because hardware routers only have these two services
> hardwired into their firmware.

I was under the impression that
- the DynDNS protocol was open
- you configure these routers with the IP address to contact

If that's correct, such a router could talk to an alternative service.

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .

J G Miller

unread,
Dec 18, 2011, 1:23:34 PM12/18/11
to
On Sunday, December 18th, 2011, at 16:48:30h +0000, Jorgen Grahn wrote:

> I was under the impression that
> - the DynDNS protocol was open
> - you configure these routers with the IP address to contact

I should have been clear and stated I was referring to the home
and small office type of router from Cisco, D-Link, or Netgear.

Going to the Dynamic DNS page setting on various models only
reveals a fixed list of service providers from which to choose,
amongst which Dyndns, ngDDNS, TZO.com.

Jorgen Grahn

unread,
Dec 19, 2011, 6:45:29 AM12/19/11
to
OK, then I was wrong -- I was thinking about those home routers, and
specifically that popular Netgear model. I set it up for my brother
once, and didn't recall that lack of configurability.

alex

unread,
Dec 19, 2011, 11:11:43 PM12/19/11
to
An alternative will be good. if needing to do this, it seems we need
to
change the code of bind?

alike

unread,
Dec 20, 2011, 6:35:49 AM12/20/11
to
And, what would be the next step ?

Bernhard Kupfer

unread,
Dec 23, 2011, 12:16:04 PM12/23/11
to
You have two possibilities. The first one would be setting up an own NS. Or
better 2 in 2 different subnets, as required by some NICs.

The second obe would be a Provider like Regfish.de. I have choosen them,
because I was in the same situation as you 2 weeks ago.

Regfish allows me setting all NS-Entries including forwarding to an own NS
(backups are their servers). But I'm not using that option, because they
allow me to be change every record via dynamic update (DynDNS). It's 12 EUR
per year which is in Germany quite fair to cheap for an org-domain.

If you have any questions just ask. Stood in front of the same problem as
you, less than 2 weeks ago.

Bernhard

alike

unread,
Dec 24, 2011, 12:48:08 PM12/24/11
to
-----------------------------------------------------
Thank you Bernard for your suggestions.
I will register one domain, but im not quite sure about next steps.
My goal is to use this one computer as the NS.

If i set this computer as name server and if i register one domain (
lets say testdns.org ) what should i do next ?

One more thing...
What would be the best and maybe the easiest way to set up ns on linux box ?




Baho Utot

unread,
Dec 24, 2011, 2:33:04 PM12/24/11
to

alike

unread,
Dec 25, 2011, 5:23:16 AM12/25/11
to
------------
Is there some gui for bind ?
i want to organize all those domains and set some rules on them...

alike

unread,
Dec 25, 2011, 5:58:44 AM12/25/11
to
One more thing. If i will use bind or dnsmasq, do i need to setup the
DDNS or is the DNS enough ?

Basically, my situation is as follows:
- user enters testdns.org.tv and if this address and password is saved
into users router, he can connect to some network device on his LAN.
E.g. i connect my ip camera to my local network ( let's say
192.168.0.100 ). I set testdns.org.tv domain into my router, and now all
there is to do is to goto into web browser and enter testdns.org.tv
When i enter this domain, my ip camera should pop up.

Questions:
- Can i make this with bind or dnsmasq and just with DNS or do i need DDNS
- as far as i undestand the next user can get any address in org.tv
domain ( testdns_2.org.tv )



Christian Brandt

unread,
Jan 13, 2012, 8:05:27 AM1/13/12
to
Am 16.12.2011 11:26, schrieb alike:

> Bind9 or something else ?
> So, the idea is to make something like dyndns service but for few
> costumers.

Bind9 offers a tool names dnsupdate if I remember right. I haven't use
it for many years and started to use hopto.org instead.

dnsupdate can directly connect to the nameserver and change lots of
settings, authenticating with a key against a defined area of change.

I think Bind9 is fairly easy to use. But using dnsupdate with secured
communication and defined areas of change is a hell of a lot more
complex. Definitly nothing for faint of heart.

An example setting named.conf.local:

key ns.example.com { algorithm hmac-md5; secret
"dfkghkldfhglkshdfgklhlsdfglkjsdfhgklhs=="; };
controls { inet 127.0.0.1 allow { any; } keys { ns.example.com; }; };

This one defines that localhost using key ns.example.com can change
anything.

Other example:

update-policy {
grant ns.example2.com. wildcard *.example2.com.;
grant *. self *.;
};

The key ns.example2.com may change zone files for and below example2.com.

I found that dnsupdate sometimes doesn't do anything and therefore I
suggest to test the settings and retry until it works.

Christian Brandt

Ivan

unread,
Jan 15, 2012, 5:42:45 AM1/15/12
to
-----------------
Hi Christian.
Can i contact you per mail. It will be faster and simpler.

alike

unread,
Jan 15, 2012, 1:14:18 PM1/15/12
to
On 01/13/2012 02:05 PM, Christian Brandt wrote:
------------------
Can i contact you per mail ?. It would be faster and simpler..

0 new messages