lightnb
June 29th, 2009, 03:45 PM
I have two JEOS Virtual Machines, running Ubuntu 9.04:
One is a web-server with MediaWiki, the other is a DNS server running Bind9.
I set-up DNS following the official Ubuntu server documentation.
When I ping "mywiki.com" from the NameServer machine, I get:
ping: unknown host mywiki.com Pinging other sites like google.com works just fine.
dig mywiki.com:
; <<>> DiG 9.5.1-P2 <<>> mywiki.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 24809
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mywiki.com. IN A
;; Query time: 0 msec
;; SERVER: 192.168.5.131#53(192.168.5.131)
;; WHEN: Mon Jun 29 15:40:15 2009
;; MSG SIZE rcvd: 28
/etc/bind/named.conf.local:
// A zone for our WikiMedia Server
zone "mywiki.com" {
type master;
file "/etc/bind/db.mywiki.com";
};
// Reverse Lookup Zone
zone "5.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
/etc/bind/db.mywiki.com:
;
; BIND data file for the WikiMedia Wiki at mywiki.com
;
$TTL 604800
@ IN SOA mywiki.com. root.mywiki.com. (
4 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mywiki.com.
@ IN A 192.168.5.102
ns IN A 192.168.5.102
Any ideas what I'm missing?
Thanks,
Nick
One is a web-server with MediaWiki, the other is a DNS server running Bind9.
I set-up DNS following the official Ubuntu server documentation.
When I ping "mywiki.com" from the NameServer machine, I get:
ping: unknown host mywiki.com Pinging other sites like google.com works just fine.
dig mywiki.com:
; <<>> DiG 9.5.1-P2 <<>> mywiki.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 24809
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mywiki.com. IN A
;; Query time: 0 msec
;; SERVER: 192.168.5.131#53(192.168.5.131)
;; WHEN: Mon Jun 29 15:40:15 2009
;; MSG SIZE rcvd: 28
/etc/bind/named.conf.local:
// A zone for our WikiMedia Server
zone "mywiki.com" {
type master;
file "/etc/bind/db.mywiki.com";
};
// Reverse Lookup Zone
zone "5.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.192";
};
/etc/bind/db.mywiki.com:
;
; BIND data file for the WikiMedia Wiki at mywiki.com
;
$TTL 604800
@ IN SOA mywiki.com. root.mywiki.com. (
4 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS mywiki.com.
@ IN A 192.168.5.102
ns IN A 192.168.5.102
Any ideas what I'm missing?
Thanks,
Nick