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:, 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 and eth2 for LAN.
    [[email protected] ~]# host is an alias for has address 4a.20a.1a8.1x mail is handled by 5 mail is handled by 5

    my file is this:
    // 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 {; };
    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/";
    severity dynamic;

    zone "." IN {
    type hint;
    file "";

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

    zone "" {
    type master;
    file "/var/named/";

    my vi /etc/resolv.conf
    # Generated by NetworkManager

    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 ISPConfig Developer

Share This Page