The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

NetworkManager::Strict - NetworkManager strict settings class

VERSION

version 0.230480

DESCRIPTION

DNS

OpenDNS

opendns.com/setupguide/#familyshield

CloudFlare

blog.cloudflare.com/introducing-1-1-1-1-for-families

METHODS

lock([$profile])

Lock writing to NetworkManager profile file with a-w chmod permissions

The default proofile is /etc/NetworkManager/system-connections/Wired connection 1.nmconnection

set_dns([$profile, $provider])

set DNS providers on NetworkManager interface profile using nmcli command

The default provider is OpenDNS FamilyShield

This generates the section below:

  [ipv4]
  dns=208.67.222.123;208.67.220.123;

AUTHOR

Elvin Aslanov <rwp.primary@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Elvin Aslanov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.