• David Johnson's avatar
    Add a Capnet dhcp Dnsmasq wrapper to stop DNS recursive resolution. · fc2350ec
    David Johnson authored
    Capnet networks cannot get to the external world.  However, the default
    Cloudlab/OpenStack dnsmasq arrangment (of course) specifies an external
    resolver.  This slows all kinds of queries from the VMs, and slows bootup,
    while the local resolver waits for the remote one to timeout.
    
    Dnsmasq in openstack doesn't give up per-network config ability, so we
    add some of our own.  There is now a custom capnet dnsmasq config file
    sans external resolver; and the wrapper class strips out any --server
    CLI options that the base class might have added due to the dhcp/dnsmasq
    config file opts.  It warns when it does this.
    
    We may not want that behavior in the future; hopefully we remember to
    get rid of it then.  But there's no other way to allow recursive public
    resolution for non-capnet networks, and then disallow it for Capnet
    networks, without this.
    fc2350ec
Name
Last commit
Last update
cloudlab Loading commit data...
compute_capnet Loading commit data...
etc Loading commit data...
lib/systemd/system Loading commit data...
networking_capnet Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
README.rst Loading commit data...
requirements.txt Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...