Skip to content

Instantly share code, notes, and snippets.

@jobbler
jobbler / VLANs-Bridging-and-KVM.md
Created May 16, 2024 18:15
VLANs-Bridging-and-KVM.md

Using VLANs with bridging with KVM always seems to confuse me. I dont do it enough and tend to overthink it. I always search to find out how to do it using the nmcli command. But finding this was not as easy as it was in the past now that vlan filtering is available inside the bridge. That's another monster to figure out when I have time.

I always write this down somewhere and always seem to misplace it. I decided a Gist is the perfect place to not lose it. So here goes.

@jobbler
jobbler / Caching and Conditional Nameserver with systemd-resolved.md
Last active May 30, 2024 20:48
Caching and Conditional Nameserver with systemd-resolved.md

Introduction

During my daily work, I need to resolve server/domains against several different nameservers based upon network connections. Normally Network Manager and the system handles this quite well based upon the DNS provided by the dhcp on the connection.

However, I have some unique cases where I need to use multiple name servers on a single connection for a single connection. This is not normally something to worry about because dns forwards to other name servers, if configured to, until a response is returned.