help to fix DNSreport errors

Discussion in 'Installation/Configuration' started by smilem, Jan 15, 2008.

  1. smilem

    smilem New Member

    I ran DNSreport on my domain and got these error:

    1. Open DNS servers - fixed by adding these lines
    to /root/ispconfig/isp/conf/named.conf.master
    /var/named/chroot/etc/named.conf
    allow-recursion {
    localhost;
    };

    2. No NS A records at nameservers
    I used this tutorial http://www.howtoforge.com/ispconfig_dns_godaddy
    What records do I need to add?

    3.Number of nameservers - This is fine I use same IP
    4.Nameservers on separate class C's - This fine too

    5.Mail server host name in greeting
    WARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record.

    mail.somemydomain.com claims to be non-existent host server1.somemydomain.com: <br /> 220 server1.somemydomain.com ESMTP Postfix <br />

    6.SPF record
    Your domain does not have an SPF record.

    I used this tutorial http://www.howtoforge.com/ispconfig_dns_godaddy
    What records do I need to add?

    Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Ok.

    2) Add A-Records for the nameserver "names".

    3 and 4) Ignore this.

    5) Add a A-Record for server1.somemydomain.com pointing to the IP address of your server.

    6) Add a SPF record for your domain. You can do this within the ISPConfig DNS manager.

    http://www.openspf.org/
     
  3. smilem

    smilem New Member


    My SPF records settings are:

    Emails sent from A - Yes
    Emails sent from MX -Yes
    From all server
    in domain - No

    Do above entries
    contain all hosts
    allowed to send emails -Yes

    A records
    111.222.333.444 mail
    111.222.333.444 www
    111.222.333.444 ftp
    111.222.333.444 server1
    111.222.333.444 ns1
    111.222.333.444 ns2

    MX
    mail.mydomain.com

    SPF
    server1.mydomain.com do I need this
    mydomain.com

    If Add myotherdomain.com to my server what records do I nned to create?

    I have these now is nything missing or need to be removed?
    A records
    111.222.333.444 mail
    111.222.333.444 www
    111.222.333.444 ftp

    MX
    mail.myotherdomain.com
    server1.mydomain.com

    SPF
    myotherdomain.com
     
  4. falko

    falko Super Moderator Howtoforge Staff

  5. smilem

    smilem New Member

    I tried the wizard to generate a config string where should I compare it with what file on my server?

    Also I have A records for my server host like
    111.222.333.444 server1

    And for my SPF i have
    server1.mydomain.com
    mydomain.com

    Do i neet to have only mydomain.com or also server1.mydomain.com for my main domain that I registered DNS trough, for clint domains ISPconfig automatically makes only myotherdomain.com so I began thinking I dont need to have server1.mydomain.com for my main domain.
     
  6. smilem

    smilem New Member

    hello anyone ?
     
  7. falko

    falko Super Moderator Howtoforge Staff

    What's in your named.conf?

    If both hostnames/domains point to the same server, then you need only one.
     
  8. smilem

    smilem New Member

    just found a post here that I neet to copy

    /root/ispconfig/isp/conf/named.conf.master

    to

    /root/ispconfig/isp/conf/customized_templates/

    In my setup this folder empty.

    I also read that:

    He loses dynamic control of his Records in ISPconfig though wont he.

    What dynamic control?

    And I did not understand wha it means:

    ISPConfig will use this template as basis for the named.conf file in future

    I tried to restart the server and add new sites the server works fine does that mean if I do not copy named.conf.master file the server will have open dns problem every time I change something in ISPconfig?
     
  9. falko

    falko Super Moderator Howtoforge Staff

    The default ISPConfig templates are in /root/ispconfig/isp/conf/. If you want to customize a template, you shouldn't modify the templates in /root/ispconfig/isp/conf/ because they will be overwritten whenever you update. Instead, copy the original template to /root/ispconfig/isp/conf/customized_templates. ISPConfig will then use the templates in /root/ispconfig/isp/conf/customized_templates, and in addition to that these templates won't be overwritten by updates. :)
     
  10. smilem

    smilem New Member

    since I want to fix open DNS I edited my
    /root/ispconfig/isp/conf/named.conf.master file and copied it to
    /root/ispconfig/isp/conf/customized_templates to preserve it when I update ISPconfig.

    Is that correct?

    I also wan't to ask how to update the server software, I'm a windows user I'm sure I need a command like yum update in console will that update what needs to be updated?
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Yes.

    Are you talking about updating ISPConfig or updating the server in general?
     
  12. smilem

    smilem New Member

    I ask bout both:

    1. How to update ISPconfig when new version is out
    2. How to update the server to keep security up to date
    3. How to update ISPconfig Tools & Add-ons (I have phpMyAdmin-2.11.4 and RoundcubeWebmail 0.1-rc2) how do I update them
     
  13. falko

    falko Super Moderator Howtoforge Staff

    It works exactly the same as the installation. The installer detects if it's an upgrade or a new installation.

    Simply run
    Code:
    yum upgrade
     

Share This Page