=== jelly-home is now known as jelly | ||
EddyKid | Holla | 14:52 |
---|---|---|
EddyKid | I am wanting to run my own dynamic dns style thing, ideally one that will natively use a mysql database for its records | 14:53 |
EddyKid | any dbms is fine in reality tho - it's for an in house dyndns style thing for our subdomains | 14:53 |
EddyKid | using mysql just makes it easier because that's what that servers other stuff already uses | 14:54 |
EddyKid | and a database so that I can manipulate it quickly and easily from software | 14:54 |
EddyKid | it'll be a memory persistant table so dns queries will still be fast | 14:55 |
EddyKid | just need to find the best dns server for the task | 14:55 |
EddyKid | It never has to do any other routing or anything even so maybe even write a script or a light script already exists? | 14:55 |
EddyKid | idk | 14:56 |
EddyKid | an index.php would be very simple that all subdomains get routed to | 14:56 |
EddyKid | via apache2 config | 14:56 |
EddyKid | but that /would/ be slow without somehow getting apache2 to reuse a worker pool just for that... urgh | 14:57 |
EddyKid | I guess I can do that now i've talked it out... A plug n play solution would have been good but would probably take more work to make that how I wanted | 14:58 |
teward | EddyKid: closest thing I think you could get is PowerDNS with a MySQL backend, but that's not a custom solution. And you require the proper items to do the DNS. https://blog.heckel.io/2016/12/31/your-own-dynamic-dns-server-powerdns-mysql/ might get you close but it's not vetted (and I don't like PowerDNS) | 15:00 |
EddyKid | Yeah the only real thing about this is that it will require a worker pool maintained as I said; how much dns is enough dns lol | 15:01 |
EddyKid | etc | 15:01 |
EddyKid | I can probably even do a timeout and stuff | 15:02 |
EddyKid | I'm no apache-spert | 15:02 |
=== EddyKid is now known as IdiotSandwich | ||
teward | well i think the question is exactly what're you using it for, for a few machines i doubt you'll have a resource problem, if you intend to set up a full blown publicly usable dynamic DNS service then you're going to need to build out the infra | 15:13 |
teward | and probably write a solution yourself and preconfigure a few things like DynDNS has. | 15:13 |
IdiotSandwich | It actually doesn't seem entirely crazy for there to be a native dns add on for apache/nginx/whatever... | 15:13 |
teward | that's a much larger project ;) | 15:13 |
teward | DNS != Web Application | 15:13 |
IdiotSandwich | lol.. | 15:13 |
teward | they don't speak the same language. | 15:13 |
IdiotSandwich | I am aware.. | 15:14 |
IdiotSandwich | 20 years dev'ing ;p | 15:14 |
IdiotSandwich | I'm just saying for extremely light weight work, but moreso than a typical php script worker pool - run one natively as an apache/etc extension which is self-managed | 15:15 |
IdiotSandwich | I could personally even do dns-over-https | 15:16 |
IdiotSandwich | but that wouldn't be for everyone ofc | 15:16 |
IdiotSandwich | and it's definitely quite small to start with but each instance of <whatever> will need to support atleast a few hundred entries - not massive haha | 15:17 |
IdiotSandwich | The centralized part needs records from all say, 300 "servers" it "manages" | 15:17 |
IdiotSandwich | (airquotes because it could well be cloud based with central storage in the end) | 15:18 |
IdiotSandwich | it's server<=>server too if that helps | 15:19 |
IdiotSandwich | idk I think even just to start with I'll literally just do the routing to a php script which can have <unlimited> concurrent requests | 15:21 |
IdiotSandwich | it's super dumb | 15:21 |
IdiotSandwich | or node.js, but that has heavier less dynamic startup times | 15:22 |
IdiotSandwich | ie php only loads what it needs to load not what MIGHT be required, node.js does this entirely at load | 15:22 |
teward | i think your discussion of 'best practices' belongs elsewhere as it's not an Ubuntu question or Ubuntu Server specific discussion | 15:25 |
fredl | Nobody can help me? | 17:20 |
fredl | oops | 17:21 |
fredl | wrong channel | 17:21 |
=== StathisA_ is now known as StathisA | ||
=== StathisA_ is now known as StathisA | ||
=== StathisA_ is now known as StathisA |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!