Results 1 to 10 of 22

Thread: [SOLVED] Can't resolve fake domain even after setup split dns

Threaded View

  1. #1
    Join Date
    Apr 2008
    Location
    Brighton, ON, Canada
    Posts
    89
    Rep Power
    7

    Default [SOLVED] Can't resolve fake domain even after setup split dns

    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?
    Last edited by strafford; 03-23-2010 at 02:04 PM. Reason: added hostname info

Similar Threads

  1. Replies: 13
    Last Post: 10-13-2009, 02:37 PM
  2. Guidance required on DNS setup in sles10
    By simonpope in forum Installation
    Replies: 2
    Last Post: 08-24-2008, 10:55 AM
  3. Invert split domain configuration or stop it
    By fmodola in forum Administrators
    Replies: 0
    Last Post: 08-20-2008, 03:44 AM
  4. Reverse DNS lookups with multiple Domain hosting.
    By carpicker in forum Installation
    Replies: 0
    Last Post: 04-23-2008, 01:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •