Since Fedora uses NetworkManager
to handle its resolv.conf
and not resolvconf
like debian would've, it's a bit more shady but this does the trick:
[root@groar etc] # cat /etc/resolv.conf
# Generated by NetworkManager
search mycustomdomain.com
nameserver myinternalDNSIPaddres
nameserver 8.8.8.8
nameserver 9.9.9.9
options use-vc
[root@groar etc] # tail -4 /etc/sysconfig/network-scripts/network-functions
grep -iq "options use-vc" /etc/resolv.conf
if [ $? -ne 0 ]; then
echo "options use-vc" >> /etc/resolv.conf
fi
statistics-channels {
inet 127.0.0.1 port 8080 allow { 127.0.0.1; };
};
Une cli pour route 53 je garde de coté
nice doc et découverte de
systemctl edit --ful
qui m'a l'air pratique :)