Bind, Dns, Spf

Discussion in 'Installation/Configuration' started by mrtornado79, Jan 28, 2008.

  1. mrtornado79

    mrtornado79 New Member

    Ok I have runned a test at http://www.dnsstuff.com and it seems that my domain didn't had a SPF record. I've tryed to set up one using ISPconfig but I with no success. So now I've deleted all the configuration for bind, dns and spf :)

    Can somebody point me to a guide in how to set up DNS, bind and all the stuff needed. I want to do it via text mode, not via gui in ISPconfig or something like that.

    I need SPF configured also since it is a mail server also, but I don't know in witch file to put the lines :
    usarmydt.com. IN TXT "v=spf1 a mx ~all"
    mail.usarmydt.com. IN TXT "v=spf1 a ~all"

    Also I don't know in witch file to set up an A record and so on.

    Also my bind server wasn't in startup I had to start it mannualy after each restart. I would like to do that also.

    PS. I have Debian installed using the Perfect Setup Guide
     
  2. topdog

    topdog Active Member HowtoForge Supporter

    The file in which you set your dns records is configured in /etc/bind/named.conf on debian

    You will see something like
    Code:
    zone "usarmydt.com" {
     type master;
     file "name_of_zone_file";
    };
    
    The file "name_of_zone_file" is where you add your records

    On debian you can use
    Code:
    rcconf
    to configure it to start on boot
     

Share This Page