/srv/irclogs.ubuntu.com/2021/04/05/#ubuntu-server.txt

=== jelly-home is now known as jelly
EddyKidHolla14:52
EddyKidI am wanting to run my own dynamic dns style thing, ideally one that will natively use a mysql database for its records14:53
EddyKidany dbms is fine in reality tho - it's for an in house dyndns style thing for our subdomains14:53
EddyKidusing mysql just makes it easier because that's what that servers other stuff already uses14:54
EddyKidand a database so that I can manipulate it quickly and easily from software14:54
EddyKidit'll be a memory persistant table so dns queries will still be fast14:55
EddyKidjust need to find the best dns server for the task14:55
EddyKidIt never has to do any other routing or anything even so maybe even write a script or a light script already exists?14:55
EddyKididk14:56
EddyKidan index.php would be very simple that all subdomains get routed to14:56
EddyKidvia apache2 config14:56
EddyKidbut that /would/ be slow without somehow getting apache2 to reuse a worker pool just for that... urgh14:57
EddyKidI 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 wanted14:58
tewardEddyKid: 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
EddyKidYeah the only real thing about this is that it will require a worker pool maintained as I said; how much dns is enough dns lol15:01
EddyKidetc15:01
EddyKidI can probably even do a timeout and stuff15:02
EddyKidI'm no apache-spert15:02
=== EddyKid is now known as IdiotSandwich
tewardwell 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 infra15:13
tewardand probably write a solution yourself and preconfigure a few things like DynDNS has.15:13
IdiotSandwichIt actually doesn't seem entirely crazy for there to be a native dns add on for apache/nginx/whatever...15:13
tewardthat's a much larger project ;)15:13
tewardDNS != Web Application15:13
IdiotSandwichlol..15:13
tewardthey don't speak the same language.15:13
IdiotSandwichI am aware..15:14
IdiotSandwich20 years dev'ing ;p15:14
IdiotSandwichI'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-managed15:15
IdiotSandwichI could personally even do dns-over-https15:16
IdiotSandwichbut that wouldn't be for everyone ofc15:16
IdiotSandwichand it's definitely quite small to start with but each instance of <whatever> will need to support atleast a few hundred entries - not massive haha15:17
IdiotSandwichThe 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
IdiotSandwichit's server<=>server too if that helps15:19
IdiotSandwichidk I think even just to start with I'll literally just do the routing to a php script which can have <unlimited> concurrent requests15:21
IdiotSandwichit's super dumb15:21
IdiotSandwichor node.js, but that has heavier less dynamic startup times15:22
IdiotSandwichie php only loads what it needs to load not what MIGHT be required, node.js does this entirely at load15:22
tewardi think your discussion of 'best practices' belongs elsewhere as it's not an Ubuntu question or Ubuntu Server specific discussion15:25
fredlNobody can help me?17:20
fredloops17:21
fredlwrong channel17: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!