Split DNS

Discussion in 'Installation/Configuration' started by prashanthkannan, Dec 17, 2008.

  1. prashanthkannan

    prashanthkannan New Member

    I am having too much trouble with this...

    My DNS setup at my Domain
    ARecord @ xx.xxx. xxx.xxx
    CNAME www @
    MX @ xx.xxx. xxx.xxx

    my hosts file
    127.0.0.1 localhost
    192.168.2.6 mydomain.net mail

    my resolv.conf file
    forwarders { <my DNS address> ; };

    };

    include "/etc/rndc.key";
    // We are the master server for server.example.com
    zone "my Domain.net" {
    type master;
    file "db.mydomain.net";

    my db.mydomain.net
    @ IN SOA mydomain.neT. hostmaster.mydomain.net. (

    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS 192.168.2.6
    IN A 192.168.2.6
    IN MX 10 mydomain.net.

    NSLookup is showing
    nslookup mydomain.net
    Server: 192.168.2.6
    Address: 192.168.2.6#53
    Non-authoritative answer:
    Name: globalstepgames.net
    Address: xx.xxx. xxx.xxx

    i am on the DMZ of the firewall

    How do i fix it to show 192.168.2.6 only.
     
  2. chipsafts

    chipsafts New Member

    from where do you want the nslookup to return a non-routable address ?
     
  3. prashanthkannan

    prashanthkannan New Member

    from inside my firewall
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please
    Code:
    nameserver 1.2.3.4
    in your /etc/resolv.conf (replace 1.2.3.4 with the internal IP address of your nameserver).
     
  5. prashanthkannan

    prashanthkannan New Member

    When i do that , my nslookup or ping does not work
     
  6. prashanthkannan

    prashanthkannan New Member

    This is just a training exersize , i dont mind giving you access to my server, would you check it out for me falko? (Do you have an MSN or Yahoo that we can use to chat?)
     
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Are you sure that your nameserver is working?
     

Share This Page