Oxycodone
February 18th, 2010, 01:22 AM
I have spent over 40 hours over the last two weeks trying to set my nameserver up on ubuntu 9.10 server. I am currently running XAMPP and have confirmed it is currently hosting the temp page I created through my IP ###.###.###.###, however BIND9 is not resolving the domain name. I think I'm finally going nuts and am seeking assistance.
I purchased the domain "*********.ME" through godaddy and created two hosts "NS1" & "NS2" in the domain manager:
http://img59.imageshack.us/img59/3568/hosts.jpg
I then changed my domain nameservers to point to my nameserver:
http://img203.imageshack.us/img203/1580/nameservers.jpg
I have forwarded port 53 in my router:
http://img704.imageshack.us/img704/4821/routert.jpg
CONFIGURATION FILES
/etc/resolv.conf
search *********.me
nameserver 192.168.1.151
/etc/bind/named.conf.local
zone "*********.me" {
type master;
file "/etc/bind/db.*********.me";
};
zone "1.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
/etc/bind/db.192
$TTL 604800
@ IN SOA ns1.*********.me. hostmaster.*********.me. (
2010021710 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
@ IN NS ns1.*********.me.
151 IN PTR ns1.*********.me.
150 IN PTR mail.*********.me.
/etc/bind/db.*********.me
$TTL 604800
@ IN SOA ns1.*********.me. hostmaster.*********.me. (
2010021711 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
@ IN NS ns1
@ IN MX 10 mail.*********.me.
@ IN A 192.168.1.150
ns1 IN A 192.168.1.151
mail IN A 192.168.1.150
www IN CNAME ns1
dig *********.me
; <<>> DiG 9.6.1-P1 <<>> *********.me
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18219
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;*********.me. IN A
;; ANSWER SECTION:
*********.me. 604800 IN A 192.168.1.150
;; AUTHORITY SECTION:
*********.me. 604800 IN NS ns1.*********.me.
;; ADDITIONAL SECTION:
ns1.*********.me. 604800 IN A 192.168.1.151
;; Query time: 0 msec
;; SERVER: 192.168.1.151#53(192.168.1.151)
;; WHEN: Wed Feb 17 23:09:27 2010
;; MSG SIZE rcvd: 80
dig -x 192.168.1.151
; <<>> DiG 9.6.1-P1 <<>> -x 192.168.1.151
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10141
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;151.1.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
151.1.168.192.in-addr.arpa. 604800 IN PTR ns1.*********.me.
;; AUTHORITY SECTION:
1.168.192.in-addr.arpa. 604800 IN NS ns1.*********.me.
;; ADDITIONAL SECTION:
ns1.*********.me. 604800 IN A 192.168.1.151
;; Query time: 0 msec
;; SERVER: 192.168.1.151#53(192.168.1.151)
;; WHEN: Wed Feb 17 23:10:03 2010
;; MSG SIZE rcvd: 104
I purchased the domain "*********.ME" through godaddy and created two hosts "NS1" & "NS2" in the domain manager:
http://img59.imageshack.us/img59/3568/hosts.jpg
I then changed my domain nameservers to point to my nameserver:
http://img203.imageshack.us/img203/1580/nameservers.jpg
I have forwarded port 53 in my router:
http://img704.imageshack.us/img704/4821/routert.jpg
CONFIGURATION FILES
/etc/resolv.conf
search *********.me
nameserver 192.168.1.151
/etc/bind/named.conf.local
zone "*********.me" {
type master;
file "/etc/bind/db.*********.me";
};
zone "1.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
/etc/bind/db.192
$TTL 604800
@ IN SOA ns1.*********.me. hostmaster.*********.me. (
2010021710 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
@ IN NS ns1.*********.me.
151 IN PTR ns1.*********.me.
150 IN PTR mail.*********.me.
/etc/bind/db.*********.me
$TTL 604800
@ IN SOA ns1.*********.me. hostmaster.*********.me. (
2010021711 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
@ IN NS ns1
@ IN MX 10 mail.*********.me.
@ IN A 192.168.1.150
ns1 IN A 192.168.1.151
mail IN A 192.168.1.150
www IN CNAME ns1
dig *********.me
; <<>> DiG 9.6.1-P1 <<>> *********.me
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18219
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;*********.me. IN A
;; ANSWER SECTION:
*********.me. 604800 IN A 192.168.1.150
;; AUTHORITY SECTION:
*********.me. 604800 IN NS ns1.*********.me.
;; ADDITIONAL SECTION:
ns1.*********.me. 604800 IN A 192.168.1.151
;; Query time: 0 msec
;; SERVER: 192.168.1.151#53(192.168.1.151)
;; WHEN: Wed Feb 17 23:09:27 2010
;; MSG SIZE rcvd: 80
dig -x 192.168.1.151
; <<>> DiG 9.6.1-P1 <<>> -x 192.168.1.151
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10141
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;151.1.168.192.in-addr.arpa. IN PTR
;; ANSWER SECTION:
151.1.168.192.in-addr.arpa. 604800 IN PTR ns1.*********.me.
;; AUTHORITY SECTION:
1.168.192.in-addr.arpa. 604800 IN NS ns1.*********.me.
;; ADDITIONAL SECTION:
ns1.*********.me. 604800 IN A 192.168.1.151
;; Query time: 0 msec
;; SERVER: 192.168.1.151#53(192.168.1.151)
;; WHEN: Wed Feb 17 23:10:03 2010
;; MSG SIZE rcvd: 104