Skip to content

Instantly share code, notes, and snippets.

View big-lip-bob's full-sized avatar
🪤
Overwhelmed

RustHaruspex big-lip-bob

🪤
Overwhelmed
View GitHub Profile
@big-lip-bob
big-lip-bob / dhclient-script
Created June 8, 2023 05:12
Namespace aware DHClient script (for DNS only)
#!/bin/bash
# dhclient-script for Linux. Dan Halbert, March, 1997.
# Updated for Linux 2.[12] by Brian J. Murrell, January 1999.
# Addenum by Haruspex for IP Network Namespace DNS awareness, May 2023.
# No guarantees about this. I'm a novice at the details of Linux networking.
# Notes:
# 0. This script is based on the netbsd script supplied with dhcp-970306.