Find the answer to your Linux question:
Results 1 to 2 of 2
My current scenario is this, I have a Windows 2003 Small Business Server and fedora proxy server that is used for internet. On Windows 2003 SBS as a mail exchange. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Location
    South Africa
    Posts
    30

    setting a DNS


    My current scenario is this, I have a Windows 2003 Small Business Server and fedora 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 mail and my website. In other words i want to have the same function that is being done by windows to be done by Linux.

    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.

    my file is this:
    /etc/named.conf//
    // named.conf
    //
    // Provided by Red Hat bind package to configure the ISC BIND named( 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. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,844
    The standard way to do this is to point at your ISP's DNS server - get their IP address(es) and put them into the file /etc/resolv.conf.

    Warning here, though - if your machine uses DHCP or NetworkManager to assign network info (and it looks here like you do), you may find it overwrites that file. If that's the case run the tool 'system-config-network' (you'll need root access to do that) and assign the IP addresses of your nameservers through that.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

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