So i'm at home with the system, been using this for around 6 months now I can, configure apache, ssh, webmin, samba, proftpd, phpmyadmin, mysql and run terminal via putty. One thing I'm slightly confused about is describing bind9. What I aim to do is run the server on the network currently 192.168.0.160, hit that in the address bar here's apache and a few projects i'm working on, all good, but further to that I am currently assigning ip's in my hosts file so 192.168.0.160 site1.lan etc. As you know things change, I am very organised and even have a second root mimicking exactly how my online webserver is to simply transfer the files over, update the database move on.
So far so good, but ideally instead of as you know constantly updating the hosts file I am aware of bind, further more I want control over the a records and more importantly mx which I have attempted. bind setup, test.lan assigned to ip 192.168.0.160, cmd in windows ping test.lan nothing, dig test.lan throws up:
- Code: Select all
root@dns:~# dig test.lan
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> test.lan
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 56988
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;test.lan. IN A
;; AUTHORITY SECTION:
. 1800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2013091300 1800 900 604800 86400
;; Query time: 78 msec
;; SERVER: 184.108.40.206#53(220.127.116.11)
;; WHEN: Fri Sep 13 12:02:26 2013
;; MSG SIZE rcvd: 101
To be fair as new to bind9 unsure what that is actually saying at a guess nothing has worked however. So further to this, this is how I want to play it really and if you don't mind me asking some questions:
1. I do not want to make this available outside the lan so no need for google, opendns servers.
2. Where does the server reside? I'm connected into the router a not so good sagem sky default, dns ip range going upto .100
3. How do I build the bridge for the network to connect?
I am very willing to learn this, let's call it the last piece of the puzzle to the perfect home office web testing lan!
Thanks in advance