How to set up DNS

Discussion in 'Server Operation' started by perfectpol7, May 4, 2009.

  1. perfectpol7

    perfectpol7 New Member

    My current scenario is this, I have a Windows 2003 Small Business Server and Linux fedora 10 proxy server that is used for internet. On Windows 2003 SBS as a mail exchange. Now need to move away from windows completely to Linux fedora 10. I need to configure a DNS so that i can use the fedora to download email from my ISP to their respectively clients computers.I do not want to host email but still want my ISP to handle the mails and my website. In other words i want to have the same function that is being done by windows to be done by Linux. I have read a some of how tos:http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch18_:_Configuring_DNS, but still confuse

    How do i configure the DNS and the mail server on my server without disturbing the ISP settings. On my linux server is connected direct to the router that point to the ISP with eth1 192.168.0.1 and eth2 10.0.0.5 for LAN.
    [root@perfecpol7 ~]# host www.perfectpol7.com
    www.perfectpol7.com is an alias for perfectpol7.com
    perfectpol7.com has address 4a.20a.1a8.1x
    perfectpol7.com mail is handled by 5 fw2a.perfectpol7.com.
    perfectpol7.com mail is handled by 5 fw1a.perfectpol7.com.

    my file is this:
    /etc/named.conf//
    // named.conf
    //
    // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
    // server as a caching only nameserver (as a localhost DNS resolver only).
    //
    // See /usr/share/doc/bind*/sample/ for example named configuration files.
    //

    options {
    listen-on port 53 { 127.0.0.1; };
    listen-on-v6 port 53 { ::1; };
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    memstatistics-file "/var/named/data/named_mem_stats.txt";
    allow-query { localhost; };
    recursion yes;
    };

    logging {
    channel default_debug {
    file "data/named.run";
    severity dynamic;
    };
    };

    zone "." IN {
    type hint;
    file "named.ca";
    };

    include "/etc/named.rfc1912.zones";

    zone "5.0.0.10.in-addr.arpa" {
    type master;
    file "/var/named/10.0.0.5.rev";
    };

    my vi /etc/resolv.conf
    # Generated by NetworkManager
    nameserver 196.25.1.11
    nameserver 196.43.1.11

    please assist in setting up a DNS server so that can set up a mail server for the LAN. Not sure the information I have provided will be of help or did I make myself clear about my situation.
     
  2. falko

    falko Super Moderator Howtoforge Staff

Share This Page