• 9 Posts
  • 612 Comments
Joined 11 months ago
cake
Cake day: December 17th, 2023

help-circle


  • I’m soaking wet. My kids wanted to go trick or treating, but there’s a storm at the moment with sideways rain. So I followed them in my car until I decided it was enough. Two of them had already capitulated, but the 3rd and a friend wanted to keep going.

    Helping them in/out as well as helping their friend getting the bike out was enough weather exposure for me to get properly soaked - all of my kids were completely drenched, but they had a good time.

    They’re currently eating Halloween candy, and I’m looking forward to a hot shower with a cold beer once they’re in bed in not too long.

    Oh, and I got a new laptop today, which is pretty nice. Haven’t had much time setting everything up yet, though.










  • Hobbies: 10/10. Factorio Dpace Age is out, and I’ve started tinkering with music making again.

    Work: 9/10. I’ll spare you the boring details, but I was able to deliver some great news yesterday, and my design doc draft is now what we’ll be doing for the next two years. The next step is to get budget approval for 5 additional hires.

    Family: 8/10. Youngest one has the sniffles, but she’s in good spirit and watching Gabbys Dollhouse.

    Finances: 9/10. Payday today, and all of the bills that are normally due today were paid ahead of time.

    All in all, pretty good.


  • Some surface-level info while I’m waiting for my kids to finish the evening ritual: No need for an extra IP or VPS. You can host them all on the same IP and machine, provided there aren’t any conflicting port assignments.

    In the DNS server, you can enter the various subdomains as CNAME pointing to the A record. The server-software is configured with which hostname it should operate as (For example, HTTP/1.1 has a Host-specification in the initial request, so that one server can host multiple domains on the same IP)

    It should be noted that mail servers are indicated by an MX-record. And mailservers should also have a TXT record (SPF record) as part of spam prevention - some SMTP servers query this to ensure that your e-mail actually comes from you and not from someone spoofing the domain.

    I used to have a zone file that did roughly what you’re trying to do, bit sadly I don’t have it anymore. But as you have DNS up and running, I’m sure you’ll be able to figure out the rest through checking some examples.

    I half-baked an example zone file for you. I haven’t tested it, though. It assumes the domain of blargh.com being hosted from an IP of 123.123.123.123:

    $TTL 86400
    @    IN    SOA   ns1.blargh.com. admin.blargh.com. (
                    2024102102 ; Serial (incremented)
                    3600       ; Refresh
                    1800       ; Retry
                    1209600    ; Expire
                    86400      ; Minimum TTL
    )
    
    ; Name servers
    @    IN    NS    ns1.blargh.com.
    @    IN    NS    ns2.blargh.com.
    
    ; A Records
    @            IN    A      123.123.123.123
    ns1          IN    A      123.123.123.123
    ns2          IN    A      123.123.123.123
    
    ; CNAME Records
    mail         IN    CNAME  blargh.com.
    mastodon     IN    CNAME  blargh.com.
    matrix       IN    CNAME  blargh.com.
    
    ; MX Records
    @            IN    MX     10 mail.blargh.com.
    
    ; TXT/SPF Record
    @            IN    TXT    "v=spf1 mx ~all"
    

    Oh, and some tips:

    • Do not enable SMTP-relay on your SMTP server. This opens you up to abuse, and you (probably) don’t need it.
    • Your DNS server should only talk to strangers about queries about your domain. Otherwise you might be part of a DNS amplification attack.
    • I have a personal preference for imap.blargh.com or pop3.blargh.com, combined with smtp.blargh.com, as it makes it easier to deduct the protocol, if you’re not supporting imap and pop3. I don’t think anyone else but me care, though.



  • One thing I’ve learned over the past 13 years is that the parts one thought would be easy were actually hard. But the things one thought would be hard are actually very easy, namely “fancy” meals and other “luxury” every day stuff.

    I’m currently redoing the bedroom of my oldest kid (removing an ancient bathroom so he gets more space, and rebuilding a wall for extra soundproofing. It surprised me how happy he was about learning these two nuggets:

    • He gets to choose any color he wants for the walls.
    • His ceiling light will be dimmable.

  • After my last grandparent passed this spring, the final stages of dividing up the estate on my fathers side is now in full swing. As my father died around a decade ago, his share is divided equally among my siblings and I. My aunt is in charge of the estate, and last week she looked at all the accounts, and I was pleasantly surprised at what was in them.

    While my grandparents weren’t rich by most standards, their generation was simply really good at saving up. Despite my share only being one third of a fourth (my dad had three siblings, I ha e two), it was enough to pay down all of my debts except the mortgage and then leave a decent rainy day fund.

    The ones who claim that money can’t buy happiness obviously didn’t account for situations where lack of it is what’s keeping you from being happy. I’ve been financially stable for a while, but I’m officially no longer living paycheck to paycheck.




  • Two Raspberry Pi Zero W arrived in the mail today. One will be a VPN gateway for when I’m out and about and I wanna log into my home network.
    The other one might be a print and scan server.

    I’ve set up the basics on one of them and connected to an unused USB port in my TV for power so that I can ssh into it and tinker with it during idle hours.

    I have a bunch of SD cards leftover from work, and I intend to set up various images for various uses, so I can move the boards around as I please and just swap the card to whatever I want to do.

    The boards are dirt cheap, so I kind of wish I had bought more than two.