NetworkConfiguration / openresolv

POSIX resolvconf implementation
https://roy.marples.name/projects/openresolv
BSD 2-Clause "Simplified" License
73 stars 15 forks source link

domain_blacklist should be case-insensitive #18

Closed ryantrinkle closed 1 year ago

ryantrinkle commented 1 year ago

My ISP provides "Home" as my domain. I use "home" for my own purposes, and I'd like to use domain_blacklist to ensure DHCP cannot interfere with it. However, because "Home" and "home" differ by case, I actually have to blacklist "Home" (and potentially any other capitalizations that other networks use).

Ideally, domain_blacklist would work in a case-insensitive way.

rsmarples commented 1 year ago

Does this work?

domain_blacklist="[Hh][Oo][Mm][Ee]"

rsmarples commented 1 year ago

This does work