Tag: others
All the articles with the tag "others".
Running dnsmasq as a Dedicated DNS Server with macvlan to Avoid systemd-resolved Conflicts
Give dnsmasq its own IP and network namespace using macvlan, with static DNS records, limited privileges, and systemd-managed setup and cleanup.
Generate Reverse DNS (PTR) Names from IP Addresses via Python CLI
A short Python script converts one or more IPv4 or IPv6 command-line arguments into the corresponding reverse DNS query names using the standard ipaddress module.
Designing a Secure Directory Layout for Services That Start as Root and Then Drop Privileges
Separate root-owned configuration and code from writable service state using FHS directories, restrictive permissions, and systemd filesystem controls after dropping privileges.
Capturing DHCP-Assigned Network Parameters Using a Temporary macvlan in a Linux Network Namespace
Probe DHCP configuration in an isolated network namespace, export the resulting MAC, IP addresses, and gateways to a shell file, and remove the temporary interfaces afterward.