I am quite frankly sick of this problem and it keeps popping up whenever i least expect it when setting up a new machine. I cannot for the life of me remember how to fix it when i wish to run bind dns and use the system as a nameserver.
My Microsoft Azure Virtual Machine is running a static ip address
google drive image of the problem spot here…https://drive.google.com/open?id=1VTJbOFIX6ynNAaiRbvY8VH8zEVyQgI2i
Is the following solution good enough…
- login to ssh command prompt via putty (or through virtualmin interface directly)
sudo su
- now as root user edit
nano /etc/rc.local
- add the following line into rc.local just before the line “exit 0”
echo nameserver 127.0.0.1 >> /etc/resolv.conf
is this an ok solution?