Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Dns - Customdns
PostPosted: Sun Jan 30, 2005 8:20 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
so, id like to know how hard it is to set up a dns server on my linode. if its possible to have an update client, like so i currently use a service provided by dnsdns.org called customdns.. allows me to have dynamic ips auto be upated and things like that for various things.

is a setup like that easy to accomplish on debian or should i not bother?

also interested in knowing if anyone is willing to do like a backup dns kinda thing, and vice versa?

cheers
Nathan


Top
   
 Post subject:
PostPosted: Sun Jan 30, 2005 7:26 pm 
Offline
Senior Member

Joined: Fri Aug 06, 2004 5:49 pm
Posts: 158
All of the mentioned ideas are possible. Look around for DynDNS linux clients, I've seen them out there. You can also register a domain, and setup DNS on your own Linode (which is a difficult task only for those that have a good idea of what their doing). You can also register a domain, and go through a free DNS provider such as zoneedit.com. If you can manage your own DNS setup, you can ask around here for someone to setup your secondary.


Top
   
 Post subject:
PostPosted: Sun Jan 30, 2005 7:37 pm 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
sorry i guess i didnt make myself clear, imnot after a dyndns client, im after a dyndns server.. so that i canrun that on my linode and rather then using dyndns.org to update shit my cliients update directly on my server (assumming i get bind or some sort of dns server set up)


Top
   
 Post subject:
PostPosted: Sun Jan 30, 2005 8:49 pm 
Offline
Senior Member

Joined: Fri Aug 06, 2004 5:49 pm
Posts: 158
Ah, in that case, it's out of my league. But I'm sure scripting something to take advantage of MyDNS or any other DNS server with the same advantages could work for that. I don't know of any off the shelf solutions though.

MyDNS: http://mydns.bboy.net/


Top
   
 Post subject:
PostPosted: Mon Jan 31, 2005 5:38 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
GnuDIP might meet your requirements. The project currently has no maintainer and has had no updates since September 2003, but it's the only one I know of.

_________________
/ Peter


Top
   
 Post subject: xname.org
PostPosted: Sun Mar 13, 2005 2:36 am 
Offline
Senior Newbie

Joined: Fri Feb 18, 2005 7:36 am
Posts: 7
Location: Morgantown, WV
I use [url]xname.org[/url] for my DNS management.
Very nice interface - and it is GPL,
so if you want you can run your own BIND with their nice gui.


Top
   
 Post subject: everydns.net
PostPosted: Sun Mar 13, 2005 11:44 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
Everydns.net also do free DNS and have a very easy to use web interface.
I use them as a secondary.

xname.org look interesting but all that pink makes me want to throw up.


Top
   
 Post subject: missing the point..
PostPosted: Sun Mar 13, 2005 8:12 pm 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
guys i think u are all missing the point, im not after somewhere to host my dns and im not after an interface for bind. Im after some sort of dns server that i can run, that i can have clients connect to via a program to update.. much like dyndns.org does. you have ur hostname say computerx.our-lan.com and it is on a dynamic ip. when it gets an ip it sends an update command via its program to the dns server which then updates the records etc.

if anyone can find something like THAT for me, seeing as ive spent a while looking and cant really find much, it would be greatly appreciated[/quote]


Top
   
 Post subject:
PostPosted: Mon Mar 14, 2005 1:42 am 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
you can do that with bind and nsupdate, or if you need a win32 client to update DynSite should work.


Last edited by OverlordQ on Mon Mar 14, 2005 3:54 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Mon Mar 14, 2005 1:58 am 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
Ok here we go

Borrowed from this page

a) Generate an MD5 key, which will be used as a shared secret. The "dnssec-keygen" tool is used. The key is written to a file.

dnssec-keygen -a HMAC-MD5 -b 128 -n HOST updater

Which creates files like: Kupdater.+157+08531.key and Kupdater.+157+08531.private. What interests us is the 'Key' entry in the private file, which looks something like k2Pb7gEcbXg6ZosOqAbV8A==.

So we add the following to /dns/etc/named.conf:

key updater { algorithm hmac-md5; secret "k2Pb7gEcbXg6ZosOqAbV8A=="; };

And in the zone definition for yourdomain.com:

allow-update { key updater; };


b) Download and Install DynSite

The "Account Assistant" screen should appear on the first run.

1) Click Next
2) In the Dialog Box click DNS Servers
3) CLick the Configure New DNS Server option, type in a name, and click next
4) In DNS Server put either IP or FQDN of your DNS server, ie: ns1.yourdomain.com
5) Leave port @ 53
6) Under Method Change to Transaction Signature (hmac-md5)
7) Under keyname type in updater
8) Under keyvalue type in what you got for the Key entry earlier, and click next
9) Give the hostname you want to update a 'screen name'
10) under the Zone, put in the name of the zone you want to update, ie: yourdomain.com
11) Under host names, type in the subdomain you wish to update, ie home/box1/something/cheese
12) Check Update Zone as well
13) Click Next>Next>Finish


Top
   
 Post subject: DNS Server
PostPosted: Mon Mar 14, 2005 10:29 am 
Offline
Senior Newbie

Joined: Wed Dec 15, 2004 11:24 pm
Posts: 5
If you are comfortable with PHP, you can write a few scripts to update dns entries in a database. Once the database updates are working, it's simply a matter of setting up a procedure to create appropriate files from that database and convince the DNS server to start using the new information.

If you want to do this, I recommend tinydns, as the program is quite a bit more scriptable than bind. It is fairly easy to set up, and I have it running on a couple of linodes already - serving zones for my own clients. After you get tinydns going, you can use a cron job to regularly regenerate the data.cdb file from a database using a perl or PHP script. The syntax was designed to be automatically generated, so this should be very straightforward.

Jacques


Top
   
 Post subject: Re: missing the point..
PostPosted: Sun Nov 13, 2005 5:11 am 
Offline
Junior Member

Joined: Sun Mar 13, 2005 4:42 am
Posts: 40
Internat wrote:
guys i think u are all missing the point, im not after somewhere to host my dns and im not after an interface for bind. Im after some sort of dns server that i can run, that i can have clients connect to via a program to update.. much like dyndns.org does. you have ur hostname say computerx.our-lan.com and it is on a dynamic ip. when it gets an ip it sends an update command via its program to the dns server which then updates the records etc.

if anyone can find something like THAT for me, seeing as ive spent a while looking and cant really find much, it would be greatly appreciated
[/quote]

If you want, I can make a script like that for you in PHP.


Top
   
 Post subject:
PostPosted: Sun Nov 13, 2005 5:14 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
that would be quite helpful, cause im not really sure how u write the dns end of things.

cheers
NF


Top
   
 Post subject:
PostPosted: Sun Jul 02, 2006 8:55 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
So im attempting to revive this thread, and hope that something new has come up that might be useful for this.

I realise linode.com is about to provide the new dns service, but id rather have my own running and use linode.coms as a slave as such.. so yeah any suggestions?

_________________
ServerAdmin - www.our-lan.com
"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"
"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
 Post subject:
PostPosted: Sun Jul 02, 2006 11:02 am 
Offline
Senior Newbie

Joined: Fri Feb 03, 2006 2:20 am
Posts: 17
If you're looking to provide dynamic dns update type of services then you could try TinyDYN or TinyDynDns.

If you are looking to build your own service you could do that fairly easily too. These are just the basics of one approach you could do.

1) Build a webpage that processed a form data that would update ip/host data in a table.
2) Either run a cronjob to dump this data out of the db into a file for your dns server to read or setup a dns server to read records from the db.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group