I have a machine which I am trying to install on. I am using a fake/bogus subdomain (mailserv.rci.ca) for my real domain (rci.ca).
I have followed the wiki page for
split dns. I still cannot get my machine to resolve my fake domain name.
There are a few posts I found regarding this and I have followed them but still cannot get this to work. Here is the info requested in other posts:
cat /etc/hosts:
-----------------------
Code:
127.0.0.1 localhost.localdomain localhost mailserv
192.168.7.101 mailserv.rci.ca mailserv
cat /etc/resolv.conf:
-----------------------
Code:
search rci.ca
nameserver 192.168.7.101
nameserver 24.226.1.93
dig mailserv.rci.ca mx:
-----------------------
Code:
; <<>> DiG 9.4.2-P2.1 <<>> mailserv.rci.ca mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 16627
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mailserv.rci.ca. IN MX
;; Query time: 0 msec
;; SERVER: 192.168.7.101#53(192.168.7.101)
;; WHEN: Tue Mar 23 16:01:01 2010
;; MSG SIZE rcvd: 33
dig mailserv.rci.ca any
---------------------------
Code:
; <<>> DiG 9.4.2-P2.1 <<>> mailserv.rci.ca any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 18922
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;mailserv.rci.ca. IN ANY
;; Query time: 0 msec
;; SERVER: 192.168.7.101#53(192.168.7.101)
;; WHEN: Tue Mar 23 16:01:38 2010
;; MSG SIZE rcvd: 33
/etc/bind/named.conf.options:
-----------------------------
Code:
options {
// directory "/var/cache/bind";
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders { 192.168.7.101; };
};
include "/etc/bind/rndc.key";
zone "mailserv.rci.ca" {
type master;
file "db.mailserv.rci.ca";
};
/var/named/db.mailserv.rci.ca:
-----------------------------
Code:
; Addresses and other host information.
;
@ IN SOA mailserv.rci.ca. hostmaster.mailserv.rci.ca. (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.7.101
IN A 192.168.7.101
IN MX 10 mailserv.rci.ca. host `hostname`:
----------------------------
Code:
Host mailserv.rci.ca not found: 3(NXDOMAIN)
Any ideas?