• 1 Post
  • 22 Comments
Joined 2 years ago
cake
Cake day: December 8th, 2023

help-circle

  • Unfortunately not because the word document is meant to be the “master” document. We aren’t even supposed to export PDF versions because in the future people may see the PDF in the folder and use that as a reference instead of the main word document even though the word doc was updated and the PDF wasn’t. Also I tried pandoc md conversion to docx in the past for another document and it didn’t go very well. The formatting of the headers was all over the place which made it impossible to generate the Table of Contents in word


  • I’m not very well informed on the specifics of the DLNA standard or how it is differentiated from UPnP so take what I say here with a grain of salt. My understanding is that there are 3 device types in DLNA

    • A server which provides media
    • A client which can pull media from the server
    • A renderer which can play back media from the client

    I’m not sure if the server is necessary stricly speaking or if my device is using the underlying UPnP stuff but I can use Macast, which is a DLNA renderer, on my desktop computer and then select it as a playback device in Symfonium on my android phone where it shows up as a UPnP device.



  • I’ve used macast in the past on my desktop where it worked perfectly. Unfortunately I could not find a fitting docker image for it. There is this one but it has literally no information and only 70 image pulls. Then there is a dockerfile in the Macast github repo but considering I don’t see a docker image mentioned anywhere in the documentation so I guess that one is only for building the application. I believe Macast is a GUI application anyway so I’m not sure how good it would work on a headless server.




  • Oh yes definitely. I currently have to write the technical documentation for a project I am working on in MS Word because that’s the format my supervisor wants (since everyone in the organisation already has word installed by default and knows how to use it at least somewhat). Probably a quarter of the time I spend writing is lost to fighting the formatting in word. I managed to have stuff happen that my coworkers have never seen word do before like taking the content of all my textfields (which I use for pasting code snippets) and having it duplicated inside each textfield…

    I wished I could use LaTeX for it but I understand the argument that some people after me may have to work on the project who don’t know LaTeX.



  • I’m gonna upvote the git + plain markdown solution simply because it is a very basic solution that does not depend on a lot of specific software in case you want to switch in the future. I had a look at obsidian in the past but discarded that idea because it required a license for commercial use back then which it seems they either changed or I misread the terms at the time.

    Still I am a fan of going as low-tech as possible with note formats so that I can easily hand down my notes to whoever comes after me and they won’t need a special program to open anything.

    Quarto looks nice and would be something I would look into if I did more data heavy work. As it is I only write technical notes and documentation for software for which plain markdown is perfectly suitable.









  • You are lucky I haven’t deleted my pi-hole VM yet ;D

    In the Pi-Hole DNS settings I have the following configuration:

    • Upstream DNS Servers => Quad9 (filtered, DNSSEC) both checkboxes for IPv4 checked
    • Under Custom DNS servers I added a line with my routers IP
    • Under Interface settings => Permit all origins. Note the warning written regarding this setting and check whether it applies for your setup!
    • Under Advanced DNS settings I have enabled “Never forward non-FQDN A and AAAA queries” and “Never forward reverse lookups for private IP ranges”. Since according to the warning this would block local hostname resolution note the next setting.
    • Under conditional forwarding I have added this line true,192.168.1.0/24,192.168.1.1,fritz.box. fritz.box was my local DHCP domain name but has since been changed to lan.

    The other settings in Pi-Hole were under the Local DNS Records menu where I added my domain name (let’s call it example.com) to the list of local DNS records and pointed it at the IP of the server running my reverse-proxy. Finally I added each subdomain I wanted to use to the List of local CNAME records and pointed it at the domain I just entered to the other list.

    I can’t perfectly tell you what my router settings were unfortunately since I have recently moved and replaced my fritzbox with a mikrotik router. The main thing you have to do though is to go to the DHCP server settings of your router and set the pi-holes IP address as the DNS server. Note that in the case of the pi-hole being offline for any reason you will be unable to resolve any domains while in this network

    It might be possible to do some sort of failover setup by running a second pi-hole with identical settings but I did not want my network connectivity depending on any device other than my router being on. Hence my move back to using my mikrotiks built-in DNS server which fortunately also supports adding lists for DNS adblocking.


  • Scrath@lemmy.dbzer0.comtoSelfhosted@lemmy.worldHow to reverse proxy?
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    2 months ago

    I’m not the guy you replied to but personally I use a setup called split-horizon DNS.

    1. I have a DNS server running on a raspberry pi which I have set up as the DNS server for all devices in my local network (by setting it in the router).
    2. This DNS server has my domain name as an A record pointing to my reverse-proxy (Nginx Proxy Manager), e.g. example.com would resolve to 192.168.0.100.
    3. Any subdomain I want to use is set up as a CNAME record in my DNS server referring to the previously configured A record with my domain. (jellyfin.example.com => example.com)
    4. Now all requests to the registered domain and subdomain are routed to my reverse-proxy which I configured to forward them to the correct service depending on the given subdomain.

    This is a little bit of a simplification. I also use a cloudflare tunnel to allow access to select subdomains and I have 2 reverse-proxies chained together since NPM can resolve services by their container name as long as they are in the same docker network.

    Also probably important: My DNS server was a pi-hole (until today at least) and did not act as my DHCP server. This meant it had no idea of local device hostnames and therefore was configured to forward queries to local device names to my routers built-in DNS server.

    The domain I use for my services is one I rent from a registrar so that I can get valid SSL certificates without self-signing them. If you are fine with self-signed certificates or simple http you probably don’t need to do that.