I'm experiencing DNS issues while trying to host my own DNS & webserver on my home LAN. Basically, I see proper DNS resolve on the DNS server, but not anywhere else on the LAN or public WWW.
I'll admit I've never installed BIND before, but have administered zone files, in any event please make no assumptions.
I have a LAMP server up and running on my home LAN. It's running Ubuntu 10.04 LTS.
Given that I cannot obtain a static IP from my ISP, and also don't want to pay a domain provider for DNS management, I've decided to try and install BIND9 on the server too, so that I can manage DNS myself.
I've followed the Primary Master section of this tutorial. Note: I did not add reverse DNS, as I did not think this was necessary to resolve an IP from a domain. I will do this later, once everything else is working.
As I said, I am new, and do not really know where to begin.
Here are a few tidbits:
dig @localhost carylson.com
; <<>> DiG 9.7.0-P1 <<>> @localhost carylson.com ; (2 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20700 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;carylson.com. IN A ;; ANSWER SECTION: carylson.com. 300 IN A 127.0.0.1 ;; AUTHORITY SECTION: carylson.com. 300 IN NS ns0.carylson.com. carylson.com. 300 IN NS ns1.carylson.com. ;; ADDITIONAL SECTION: ns0.carylson.com. 300 IN A 127.0.0.1 ns1.carylson.com. 300 IN A 127.0.0.1 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Tue Nov 29 20:58:35 2011 ;; MSG SIZE rcvd: 114
dig @22.214.171.124 carylson.com GOOGLE NAMESERVERS
; <<>> DiG 9.7.0-P1 <<>> @126.96.36.199 carylson.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 60779 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;carylson.com. IN A ;; Query time: 1052 msec ;; SERVER: 188.8.131.52#53(184.108.40.206) ;; WHEN: Tue Nov 29 21:00:28 2011 ;; MSG SIZE rcvd: 30
Any pointers are appreciated.