via blue, un tool marrant pour l'enum dns
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
omgwtfbbq j'ai fini par trouver cette page de config
je connaissais pas ce petit module, fort pratique
cd $GOPATH
go get github.com/42wim/dt