CentOS7 办公网络DNS服务搭建简录

HOSTNAME=dnsmasq hostnamectl set-hostname "$HOSTNAME" echo "$HOSTNAME">/etc/hostname echo "$(grep -E '127|::1' /etc/hosts)">/etc/hosts echo "$(ip a|grep "inet "|grep -v 127|awk -F'[ /]' '{print $6}')
相关文章
相关标签/搜索