By elearn
https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-private-network-dns-server-on-ubuntu-14-04 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 192.168.1.1. Computer A is 192.168.1.2 ,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 mywp.com/wp/?m=201409 ,there is a line in /etc/hosts of Computer A .
192.168.1.2 mywp.com
Computer B is 192.168.1.3, there is a line in /etc/hosts of Computer B also .
192.168.1.2 mywp.com
Now the wordpress can be visited when to input mywp.com/wp/?m=201409 in firefox both on Computer A and B. My android phone ip is 192.168.1.4 ,the wordpress can not be visited when to input mywp.com/wp/?m=201409 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/db.nyc3.example.com /etc/bind/zones/db.10.128 How to set all the four files according to my status?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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 192.168.1.1 when it does not hold the zone being requested. You would want to try to set your router to hand out 192.168.1.2 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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.