• 1 Post
  • 404 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle
  • I don’t know how the others set theirs up, but I use “views” in bind 9 https://kb.isc.org/docs/aa-00851

    Essentially, the DNS I run on a router-like box much like you describe uses a different database depending on whether you query from an internal IP address or a public address. For me, the advantages are that I can let devices on my local network declare their own names to DHCP and enter them in DNS without worrying about the outside world. Mu internal network doesn’t crash if my ISP changes my address, Certbot happily requests certs for any site with a public address, and that cert works seamlessly on the corresponding internal address, no wildcards or DNS challenge required.


  • tburkhol@lemmy.worldtoSelfhosted@lemmy.world•IPv6
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    Not familiar with opnSense, but on your PC, you can check the address it assigns - if it’s /128, it’s a single address.

    My ISP does not assign a prefix for delegation unless you specifically ask for it. I had to add “request_prefix 1” to my dhclient.conf file to get a /64 I assume opnSense has a friendly setting somewhere for that. For me, the key phrase was ‘prefix delegation.’ After I got that, I could search around and get my solution.



  • Whatever else comes out of the 2020s, I like that the era of ‘superpowers’ is pretty clearly over. The former Soviet Union can’t bring one of its former soviets back into the fold. The USA can’t get a regional power to roll over.

    I hope that means a lot more coalition building among the regional powers. Actual compromise and consensus among people with different perspectives. I hope that means less kowtowing to Washington, Moscow, maybe even Beijing, because letting one nation tell the rest of the world what to do just sucks. We can get a lot more done working together than following a bully.

    As an American, if that means giving up the global privilege I’ve had, being the ‘default currency,’ the ‘default language,’ and the ‘default rule,’ then I’ll suffer through it. Maybe it will even help us focus on fixing our domestic problems as they grow to crisis proportions.


  • Beyond “whomever holds the highest office at the moment,” there’s “whomever gets the biggest media coverage.” That might be Gavin Newsom, who’s not very popular, even in his home state. Bernie Sanders and AOC always get good coverage, but that’s partly because they’re so far outside the mainstream.

    US isn’t really set up for singular leaders at the national level, which is part of what makes Trump so unusual.






  • tburkhol@lemmy.worldtoSelfhosted@lemmy.world•Power efficiency
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 months ago

    Logging power use by my server was one of the motivators to add homeassistant. That also showed me that specific containers use a (relative) ton of background power. Immich and authentik each raised power consumption by 2-3 watts, so I leave them down unless I have specific need.





  • If you only need it to be accessible inside your home, then you just need to run your own DNS. Have your dhcp point at your DNS and your DNS declare itself the master for your domain.

    To get full functionality, you’ll probably want to have your registrar point to the public IP you get from your ISP as the domain’s authoritative name server.You should be able to script it to update the registrar when your ISP changes your IP, but that usually happens infrequently enough to do manually. Obviously can’t do that if you’re behind CGNAT.

    To get Lets Encrypt certificates, you can do the DNS challenge. If your ISP gives you a (even inconsistent) public IP, you can do fancy ‘views’ with your selfhosted DNS, where it responds with private IPs inside your network and your ISP-given IP outside your network. I have certbot set up to expose my DNS & web server just before it starts its renewal process, then close the firewall after. Once you have the certificate, you can move it to where ever it will actually be used.



  • To me, the nonstandard port is mostly nice for reducing log spam from scripts. The risk is that using a nonstandard port lulls one into a false sense of security and overlook good sshd practices. Good sshd practices will prevent the script-kiddies just as well as the non-standard port, while a non-standard port will not challenge a targeted attack. And, if you interact with multiple servers, it can be inconvenient to remember a different port for each one.