do not add dns slave into nameserver until it is ready something to do with /var/bind
7 lines
154 B
Bash
7 lines
154 B
Bash
#!/bin/bash
|
|
|
|
echo "nameserver 192.168.122.1" > /etc/resolv.conf
|
|
apt-get update
|
|
apt-get install dnsutils -y
|
|
|
|
echo "nameserver 10.67.3.3" > /etc/resolv.conf |