How to set the bind configuration in my simple status?

  • Posted November 9, 2015
  • DNS The material was read four times ,but i still can’t set configuration in my status.

There is a mini home wifi network in my home.The wireless router is Computer A is ,the wordpress was build on it,and wireless router was connected to the Computer A .ALL the urls of my wordpress are the form of ,there is a line in /etc/hosts of Computer A .

Computer B is, there is a line in /etc/hosts of Computer B also .

Now the wordpress can be visited when to input in firefox both on Computer A and B. My android phone ip is ,the wordpress can not be visited when to input in my android’s firefox .

I want to install bind9 to solve the problem. problem 1: which computer (A or B) will the bind9 be installed on ? problem 2: /etc/bind/named.conf.options /etc/bind/named.conf.local /etc/bind/zones/ /etc/bind/zones/db.10.128 How to set all the four files according to my status?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey there,

You may want to look into your wireless router configuration to see if it has an onboard DNS server available. Otherwise you can setup a DNS server on Computer A, however this computer should then be left powered on 24/7. You would then need to make sure the DNS server on Computer A forwards DNS requests up to when it does not hold the zone being requested. You would want to try to set your router to hand out as the resolving name server in its DHCP configuration if possible, otherwise you would need to manually set the resolving name server on your android device.

Quite honestly, it may be easier to edit your hosts file on your android device which can be done manually or there are apps in the Google Play store that do this.

Happy coding,

Jon Schwenn Platform Support Specialist DigitalOcean