dnsmasq | dotfiles | |
---|---|---|
12 | 5 | |
259 | 9 | |
- | - | |
0.0 | 7.7 | |
3 months ago | about 2 months ago | |
C | Shell | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dnsmasq
-
Open Source Ad Blocker for Mac, Windows, and Linux
That's when you connect to your VPN.
I have a network configuration with 2 dnsmasqs, 1 with pi-hole-style hosts block, and 1 without, and most of my devices get the ad-blocking DNS, 1 gets the "unfiltered" DNS, on dnsmasq you can tag MAC addresses and create different configurations (including which DNS they get) for each tag, e.g. https://github.com/imp/dnsmasq/blob/770bce967cfc9967273d0acf...
-
Working on Multiple Web Projects with Docker Compose and Traefik
This seems like an improvement over my current solution in that it can keep multiple projects open simultaneously and route to each of them, but does add more complexity to the setup.
I'm using Dnsmasq (https://thekelleys.org.uk/dnsmasq/doc.html) to map anything at .lo to the currently running project, like so:
brew install dnsmasq
-
easiest way to setup internal DNS routing?
I would use a simple dns proxy like Blocky if you want adblocking or dnsmasq if you don't.
- DNS server recommendation?
-
A Crucial Particle Physics Computer Program Risks Obsolescence | Maintenance of FORM, the 1980s software that’s used for the field's hardest calculations, rests almost entirely with one septuagenarian physicist
The wild thing about this strip is that its real https://thekelleys.org.uk/dnsmasq/doc.html.
- Why self-host DNS (unbound)?
-
Frustrated with the hardware I own
The pervious setup was much the same except the lab was under the UDMP without another gateway. I used UnifiOS to create networks(vLANs) and trusted that segregation to work. It did not. As I progressed in my home lab, I went through a few hypervisors and settled on EXSi and vSphere. 100% overkill but that is what labbing is for right? again progressing through and adding things like windows AD and many Home Automation things like Home Assistant, Node Red and MQTT. through all of this I struggled with DHCP/DNS, mostly conflicts with misconfigured vLANs etc. This led me to research the DHCP/DNS running on the UDMP, it is Dnsmasq which is very capable of doing the things I learned I needed like conditional forwarding and statics routes(yes the GUI has this, will get to that). After reading posts like this about the possibility of modifying dnsmasq through scripts, I was concerned about the viability of this long term as my 2nd use case(family) would be effected by any complications. This led me to the above design, which I then implemented.
-
Can I use a custom dns entry to get to my local dev site?
If you can handle all these, then the easiest way to setup a local dev DNS is dnsmasq. You can install it via HomeBrew.
-
Is there any way to boot an operating system over PXE?
If you are still interested, I heartily suggest using dnsmasq to do the dhcp/tftp/PXE service. I’ve used it on airgapped networks to boot systems and install a base Linux OS or run diagnostic tools.
-
Is there a systemd-free way to emulate how networkd and resolvd treat multiple networks?
It turns out that this was a rather short-term problem for me, so I do not have any reason to try my hand at a solution at this time. However, dnsmasq provides a DBus interface, so it seems like it would be trivial to script up a resolved replacement and register/unregister nameservers in runit run/finish files. Unbound's control interface may be a viable option as well.
dotfiles
-
Working on Multiple Web Projects with Docker Compose and Traefik
You can set this up with even less customization. Here's my snippet for doing so [0]. In this way, the default rule for all containers that are part of compose projects gets assigned a subdomain (service.compose-stack.lvh.me).
However, even with my tweaks, the overall solution is still limited. Because it's not on "localhost", the browser considers it an "insecure context" unless you also set up local HTTPS.
[0] https://github.com/CGamesPlay/dotfiles/blob/13659d19ca899cea...
-
VSCodium – Libre Open Source Software Binaries of VS Code
I’ve started using Remote OSS [0] with some custom scripts to install and run the remote code host. Works great on remote servers and even with devcontainers on remote hosts. You can use a script like the one here to handle automatically installing and setting up the tunnel [1]. I’m working on a PR that adds a way to automatically run custom scripts to set up the tunnels as well [1].
[0] https://open-vsx.org/extension/xaberus/remote-oss
[1] https://github.com/CGamesPlay/dotfiles/blob/master/files/.lo...
[2] https://github.com/xaberus/vscode-remote-oss/pull/9
-
Antonmedv/walk: Terminal file manager
I built a "Control-P" feature for fish that would also be a good trigger for this tool. Basically, you activate the shortcut to run the program, then it will change the directory based on the selection, but restore your original command line after. So you can be halfway through a command before realizing you are in the wrong place. Also, can cd with one fewer keystroke. My version is at [0], but obviously modifiable for other tools like this one.
[0] https://github.com/CGamesPlay/dotfiles/blob/master/files/.co...
-
LazyVim
FWIW, I still use regular vim with ale [0] and it does everything I want. It formats files with Black and isort, shows ruff and pyright errors, supports jumping to definitions, and has variable information available on hover. I have collected my config over the past several years, but I pretty rarely encounter errors with it.
[0]: https://github.com/dense-analysis/ale [1] https://github.com/CGamesPlay/dotfiles/blob/master/files/.co...
-
Improving Shell Workflows with Fzf
I think the first example should have been done with direnv rather than having a manual step, but I supposed to each their own. The other examples are all pretty neat.
I recently set up fasd, which I recommend, but I tied it together with fzf, which makes it really nice.
fasd: https://github.com/clvv/fasd
tie it with fzf: https://github.com/CGamesPlay/dotfiles/blob/master/files/.co...
What are some alternatives?
Technitium DNS Server - Technitium DNS Server
fzf-tab - Replace zsh's default completion selection menu with fzf!
smartdns - A local DNS server to obtain the fastest website IP for the best Internet experience, support DoT, DoH. 一个本地DNS服务器,获取最快的网站IP,获得最佳上网体验,支持DoH,DoT。
fzf - :cherry_blossom: A command-line fuzzy finder
zen - Simple, free and efficient ad-blocker and privacy guard for Windows, macOS and Linux
jql - Easy JSON Query Processor with a Lispy syntax in Go
Knot Resolver - Knot Resolver - resolve DNS names like it's 2024
fzf-checkout.vim - Manage branches and tags with fzf
Pi-hole - A black hole for Internet advertisements
setup - My config, system settings, utilities, etc.
asuswrt-merlin.ng - Third party firmware for Asus routers (newer codebase)
.vim - :v: My Vim config