dns-bind/client-install.sh
raw link view readme1 | yum install bind-utils nmap -y |
2 | |
3 | cp /etc/sysconfig/network-scripts/ifcfg-eth0 ~ |
4 | sed -i "s/PEERDNS=.*/PEERDNS=no/" /etc/sysconfig/network-scripts/ifcfg-eth0 |
5 | |
6 | cat > /etc/resolv.conf << EOF |
7 | nameserver 10.18.0.5 |
8 | EOF |
9 | |
10 | systemctl restart network |
11 |