Deploy Intel® Smart Edge Open Developer Experience Kit without Edge Software Provisioner (ESP) in an Air-Gapped Environment

ID Date Version Classification
765883 02/03/2023 1.0 Public

Setup Local DNS Server

Stop and disable systemd-resolved:

systemctl disable --now systemd-resolved

Configure network-manager:

sed -i -e '/^\[main]$/a dns=default' /etc/NetworkManager/NetworkManager.conf

# create new resolv.conf
mv /etc/resolv.conf  /etc/resolv.conf.bak
echo "nameserver $HOST_IP" > /etc/resolv.conf

systemctl restart network-manager

Create and run DNS container as the local DNS server:

cd ~/iotg/pwek-aio-offline-installer
docker load -i download_modules/local_docker_images/dns.tar
docker load -i nginx.tar

docker create --name dns --restart unless-stopped \
  --network host -e INGRESS=$HOST_IP dns:fd.1.0
docker start dns

Check the result:

# the IP should be the $HOST_IP
host www.baidu.com