def nameservers():
    with settings(hide('running', 'stdout')):
        res = run(r"cat /etc/resolv.conf | grep 'nameserver' | cut -d\  -f2")
    return res.splitlines()
Get the list of nameserver addresses.
dataset/ETHPy150Open ronnix/fabtools/fabtools/network.py/nameservers