#!/bin/bash echo "nameserver 192.168.122.1" > /etc/resolv.conf apt-get update apt-get install bind9 -y echo "nameserver 10.67.3.3" > /etc/resolv.conf