I am currently trying to set up an ad-hoc network for passing notes while I'm in class. The idea is to run a chat server on my laptop (I'm using prosody, that's up and running), so we can share information.
I have also set up a BIND DNS server on my laptop so my friends can just log in using my hostname instead of manually setting up their accounts to point to my IP address.
I am having two seperate issues in this regard.
1) I can't really figure out how to make their computers use my laptop as their DNS server. Should I install a DHCP server too?
2) My computer refuses to use my own DNS server. I think it's because of the dnsmasq that networkmanager runs. I can work around it by editing /etc/hosts, but I do want to use my server locally.
I am running 16.04.
For future generations: in regards to number 2, i just went to NetworkManagers config file and removes the line including dnsmasq. Otherwise dnsmasq refuses to use a dns server on localhost.
In addition, i set up my ad-hoc network to do manual ip address for me, because automatic didn't work for me at all. So i used NetworkManager to give me a static IP and then all my clients use the DHCP from dnsmasq just fine.